Skip to content

Uncaught TypeError: Cannot read property 'tagName' of null #1154

Description

@jerryc127

Bug Report

Steps to reproduce

add the darkmode button

What is current behaviour

What is the expected behaviour

Other relevant information

  • Bug does still occur when all/other plugins are disabled?

  • Your OS:

  • Node.js version:

  • npm/yarn version:

  • Browser version:

  • Docsify version:

  • Docsify plugins:

Please create a reproducible sandbox

Edit 307qqv236

Mention the docsify version in which this bug was not present (if any)

https://docs.jerryc.me/src/bottom.js
I create the dark mode button,
it work fine.
but i check the console, it error show Uncaught TypeError: Cannot read property 'tagName' of null ?
what problem ? but the function is work fine.
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wait for informationsomething is not clear, waiting for the author of the issue/pr

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions