• Resolved Richzendy

    (@richzendy)


    You get this in the javascript console:

    TypeError: $ is not a function

    $(‘p, label’, $content).css({

    To easy-modal/assets/scripts/easy-modal-site.js?ver=2 line 251, that line has:

    $(‘p, label’, $content).css({

    Must be:

    jQuery(‘p, label’, $content).css({

    You must remember the jQuery compatibility mode used by WordPress in your scripts, maybe $ must be changed in more lines in to easy-modal-site.js to working on others environments.

    https://wordpress.org/plugins/easy-modal/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Richzendy

    (@richzendy)

    Working after upgrade the plugin to 2.0.5 version, but i don’t now if it’s working because to my fix (maybe is not overwrite for the update)

    Plugin Author Daniel Iser

    (@danieliser)

    Hey Richzendy, Thanks for the report but someone had beaten you to it. v2.0.5 does include the fixes already. Thanks again, let us know in a review what you think of the new theme editor.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘easy modal it's not working: TypeError: $ is not a function’ is closed to new replies.