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

Issues with new versions of jQuery #25

Open
robertbethge opened this issue Dec 8, 2016 · 1 comment
Open

Issues with new versions of jQuery #25

robertbethge opened this issue Dec 8, 2016 · 1 comment

Comments

@robertbethge
Copy link

I tried to use the plugin with newer versions of jQuery (in my case: 3.1.1) required by WP, but ran into some issues. There were all easy to, fix though:

  1. The load(function() {})) method on line 125 needs to be replaced with on('load', function(){}).
  2. The size() method on line 404 needs to be replaced with the equivalent length property.

Then it started working just fine.

@JimCook57
Copy link

Thank you! You saved me a bunch of work.

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

2 participants