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 'style' of null #667

Closed
oytunistrator opened this issue Mar 23, 2015 · 2 comments
Closed

Uncaught TypeError: Cannot read property 'style' of null #667

oytunistrator opened this issue Mar 23, 2015 · 2 comments
Labels
Milestone

Comments

@oytunistrator
Copy link

var supportsTransitions = document.body.style.transition != null 

line giving this error: Uncaught TypeError: Cannot read property 'style' of null

@llernestal
Copy link

I also got this error when loading picker.js in <head>.

Shouldn't

var supportsTransitions = document.body.style.transition != null

be

var supportsTransitions = document.documentElement.style.transition != null

?

@amsul
Copy link
Owner

amsul commented Apr 20, 2015

@llernestal you are correct. Fixing this in the next patch.

@amsul amsul added the bug label Apr 20, 2015
@amsul amsul added this to the v3.5.6 milestone Apr 20, 2015
@amsul amsul closed this as completed in 61a899a Apr 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants