For jquery 3.5.1 compatibility and WP 5.7
-
jQuery.fn.click() event shorthand is deprecated
Solution: Instead of .click(fn) use .on(“click”, fn). Instead of .click() use .trigger(“click”)
in /zeno-font-resizer/js/jquery.fontsize.js
Line: 35
Change from:
jQuery('.zeno_font_resizer_add').click(function() {
to
jQuery('.zeno_font_resizer_add').on('click',function() {
Best regards
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘For jquery 3.5.1 compatibility and WP 5.7’ is closed to new replies.