• Resolved ODAK71

    (@odak71)


    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)
  • Plugin Author Marcel Pol

    (@mpol)

    Hi Odak,
    Thank you for the feedback.
    I simply wasn’t aware of this and will check all my plugins for this.
    There is an update that should fix these warnings. Can you confirm it is working fine now? Looking through all the code here that needs work it feels a bit like whack-a-mole ??

    Regards,
    Marcel Pol

    Thread Starter ODAK71

    (@odak71)

    Yes, the problem is solved.

    Looking through all the code here that needs work it feels a bit like whack-a-mole ??

    Same Situation here, I have lots of projects to adjust.

    Best regards

    • This reply was modified 3 years, 9 months ago by ODAK71.
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.