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

Doesn't work in IE8 #12

Open
aaronlinley opened this issue May 4, 2016 · 1 comment
Open

Doesn't work in IE8 #12

aaronlinley opened this issue May 4, 2016 · 1 comment

Comments

@aaronlinley
Copy link

Not really an issue, just a suggestion. I was using the carousel and noticed it wasn't working in IE8, seems to be due to an issue with .indexOf. I found adding this to the top solved my issue:

if (!Array.prototype.indexOf) { Array.prototype.indexOf = function(val) { return jQuery.inArray(val, this); }; }

@specious
Copy link
Owner

specious commented Jul 8, 2016

Array.prototype.indexOf() is presumably not implemented in IE 8 and earlier.

I'm too busy to delve into this right now, but a pull request implementing a small polyfill might be worth looking at.

@specious specious changed the title IE8 Bug Doesn't work in IE8 Nov 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants