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 latest jQuery versions #5

Open
siamkreative opened this issue Dec 2, 2014 · 2 comments
Open

Compatibility with latest jQuery versions #5

siamkreative opened this issue Dec 2, 2014 · 2 comments

Comments

@siamkreative
Copy link

Hey Kevin,

I like your plugin because it is lightweight, responsive and it uses CSS3 transitions. In the past, I have used Colorbox or MagnificPopup but I was now looking for something much simple.

Unfortunately, using jquery-1.11.1, a javascript error appears when trying to go to previous/next image: Uncaught TypeError: Cannot read property 'version' of undefined. I didn't have time to dig more, but I will because this plugins seems to be what I'm looking for.

Cheers

@siamkreative
Copy link
Author

I forgot to mention the line number, which is line No. 54.

The jQuery.browser() method has been deprecated since jQuery 1.3 and is removed in 1.9. If needed, it is available as part of the jQuery Migrate plugin. We recommend using feature detection with a library such as Modernizr.

http://jquery.com/upgrade-guide/1.9/#jquery-browser-removed

@kthornbloom
Copy link
Owner

Thanks for the report! This plugin is due for an upgrade anyway. I'll patch that up in a future update.

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