Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'addEventListener' #8

Closed
isaacdarcilla opened this issue Mar 9, 2020 · 2 comments
Closed
Assignees

Comments

@isaacdarcilla
Copy link

isaacdarcilla commented Mar 9, 2020

There is a return error Uncaught: TypeError

Uncaught TypeError: Cannot read property 'addEventListener' of null
    at new e (darken.umd.js:1)
    at event:26

Screenshots

The error causes the toggle to not function.

Desktop

  • OS: Deepin Linux
  • Browser: Chrome
  • Version: Version 78.0.3904.97 (Official Build) (64-bit)
@ColinEspinas
Copy link
Owner

ColinEspinas commented Mar 9, 2020

What version of darken are you using ? Are you using the CDN ? How are you using it ?

@ColinEspinas ColinEspinas self-assigned this Mar 9, 2020
@ColinEspinas
Copy link
Owner

ColinEspinas commented Mar 30, 2020

This problem may be due to an incorrect container or toggle selector, this selector uses querySelector so you need to give a valid CSS query selector.

I will suppose that this problem is solved because there is no response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants