-
Notifications
You must be signed in to change notification settings - Fork 259
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
TypeError: Argument 1 of Window.getComputedStyle is not an object #61
Comments
Hmm interesting, I'm getting that as well, but only in IE and Firefox (not in Chrome). The problem lies in this part:
It seems I think the issue is that @multiformeingegno and I are including the script in the head of our html, instead of before the body end tag. In our case body doesn't exist yet, and Let me just try to confirm this.. |
Ok yeah, that was the problem - moving the script to before the body end tag worked. Not sure if you'd classify that as a bug or not! :) |
I can confirm this. The plugin is unusable on Firefox/Yosemite. Here's the fix:
|
The plugin needs to run either on |
I can confirm seeing this on Chrome beta 41.0.2272.74. An associate of mine on the same network, loading the same internal page not using the beta release of Chrome is not seeing this behavior. |
Window.getComputedStyle does not work when you use document.querySelector. it works when u use getElementById |
how to resolve this error in react? |
Window.getComputedStyle: Argument 1 is not an object. |
Here's what I get:
![bigtext](https://cloud.githubusercontent.com/assets/4039005/4100452/747aa918-3098-11e4-8b59-f3202ff0b67b.png)
jQuery 2.1.1
The text was updated successfully, but these errors were encountered: