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 deprecation warnings #139

Open
sronsiek opened this issue Aug 19, 2023 · 1 comment
Open

jquery deprecation warnings #139

sronsiek opened this issue Aug 19, 2023 · 1 comment

Comments

@sronsiek
Copy link

JQuery migration warnings persistently pollute the console & are quite annoying.

Easy one line fix @ line 174 of jquery.dirtyforms.js:

    // JQMIGRATE: jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos
    // $.extend($.expr[":"], {
    $.extend($.expr.pseudos[":"], {

This removes the warnings - functionality not tested.

@sronsiek
Copy link
Author

Correction - it seems the correct replacement is in fact:

    // JQMIGRATE: jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos
    // $.extend($.expr[":"], {
    $.extend($.expr.pseudos, {

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