Support » Plugin: Cookie Notice for GDPR » JS ERROR $.fn.getCookieNotice is not defined

  • Hi

    When I set defer atribute to this script to make the site faster, there is a problem with the JavaScript of this plugin

    It’s because you defined several functions after $( document ).ready

    When a script is deferred, $( document ).ready execute before function definition.

    If you move document ready block to the bottom of the file, everything works fine

    Regards

  • You must be logged in to reply to this topic.