-
Notifications
You must be signed in to change notification settings - Fork 49
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: Failed to execute 'insertRule' on 'CSSStyleSheet': 2 arguments required, but only 1 present #36
Comments
I'm seeing this too. I added 0 to the insertRule(rule) call and it works again. |
I get this issue too :-(. |
So this PR didn't solve it: bc27644? |
@hfjallemarkm, in my case, 'document.styleSheets[0].cssRules' is always undefined. So Merge pull request #34 doesn't solve the problem. I'm using Nuget KoLite package v1.1.0, and Chrome. However this, as suggested above work perfectly. Line 159: document.styleSheets[0].insertRule(rule, 0); |
Pushed now. Closing this issue, please reopen if the bug returns. |
I'm having this issue again with chrome 36.0.1985.125 m |
This error is due to an incorrect use of insertRule method in 'NETEYE Activity Indicator jQuery Plugin'. Since KoLite uses the same activity plugin , KoLite client are also affected by it. Could someone take a look at this?
More Info:
http://stackoverflow.com/questions/20010347/uncaught-typeerror-failed-to-execute-insertrule-on-cssstylesheet-2-argumen
https://github.com/bizzynut/jquery-plugins/commit/f000dc6347fbcabf4e3fd47732ddd97c73067755
The text was updated successfully, but these errors were encountered: