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

Jquery 3 Workaround #264

Open
megatom opened this issue May 10, 2017 · 0 comments
Open

Jquery 3 Workaround #264

megatom opened this issue May 10, 2017 · 0 comments

Comments

@megatom
Copy link

megatom commented May 10, 2017

I updated from jquery2 to jquery 3 and nyroModal throws an error, because its using .load() and .error().
I looked at the code and found 3 lines with this removed functions.
You can easy replace these lines
.load(function() {
with
.on('load', function() {
and the same for .error().
After this you can use nyromodal with jquery 3.

Unfortunately i cant use the minified version anymore now.

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