You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.
If you want to use anchor-targets you need querySelector and if you don't use anchor-targets, then the line will never be executed.
What I was already thinking about was to create a poor-mans polyfill for querySelector which maps querySelector('#foo') to getElementById('foo'), because I guess that's used the most. I would only take a few lines of code inside the IE plugin. And if a complex selector reaches the polyfill, it could throw an exception.
Everything was broken on ie7 just because of this line of code using document.querySelector (src/skrollr.js - line: 287)
I used a simple workaround and my site is working now.
https://developer.mozilla.org/en-US/docs/DOM/Document.querySelector
The text was updated successfully, but these errors were encountered: