Skip to content

Jquery 3 Workaround #264

@megatom

Description

@megatom

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions