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

Compatibility with jQuery 3.0 ? #200

Open
quadcodes opened this issue Nov 27, 2016 · 1 comment
Open

Compatibility with jQuery 3.0 ? #200

quadcodes opened this issue Nov 27, 2016 · 1 comment

Comments

@quadcodes
Copy link

I'm trying to use supersized with latest version of jQuery 3.1.1 & I get following error :

jQuery.Deferred exception: a.indexOf is not a function

Has anyone tested compatibility of Supersized 3.2.7 with jQuery 3.0 onwards?

@quadcodes
Copy link
Author

I found a fix for this issue. It turned out that Since jQuery 1.8, .load, .unload, and .error etc are deprecated & doesn't with latest jQuery. So we have to use .on() to register listeners instead.

I replaced all .load events with .on('load', function().. inside supersized library & it worked.

Hope buildinternet will release official fix soon & updates library to the latest.

@quadcodes quadcodes reopened this Nov 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant