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

.bind instead of .on for earlier versions of jQuery #6

Open
mabho opened this issue Nov 2, 2012 · 1 comment
Open

.bind instead of .on for earlier versions of jQuery #6

mabho opened this issue Nov 2, 2012 · 1 comment

Comments

@mabho
Copy link

mabho commented Nov 2, 2012

Well, this is not actually an issue, but maybe it should be added to documentation. In my case, I had to replace .on with .bind because I have a Drupal 7 install. D7 is based on jQuery 1.4.4 (your script uses 1.7.2) and if you upgrade jQuery script version, all sorts of problems appear on D7 because of lack of compatibility of several of its scripts with the later versions of jQuery. The solution for me was to replace (on your script) the jQuery .on with .bind twice. Other from that, many, many thanks for sharing this. Did help a lot!

@louisremi
Copy link
Owner

Thanks,

I plan to replace this plugin with an .htc file, this would also solve the compatibility problems with jQuery.

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