jQuery.fn.click() event shorthand is deprecated
-
Hello,
For WP 5.7 and jquery 3.5.1
jQuery.fn.click() event shorthand is deprecated
https://www.faust-praxis.de/wp-content/plugins/easy-fancybox/js/jquery.fancybox.min.js
Instead of .click(fn) use .on(“click”, fn). Instead of .click() use .trigger(“click”).
See also:
https://github.com/jquery/jquery-migrate/blob/master/warnings.md
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘jQuery.fn.click() event shorthand is deprecated’ is closed to new replies.