• Resolved pardebits

    (@pardebits)


    hi! When I active the minimize JS I get this error in console:

    Uncaught TypeError: $.each is not a function

    from this line:

    
    <script type='text/javascript' id='jquery-js-after'>jqueryParams.length&&$.each(jqueryParams,function(e,r){if("function"==typeof r){var n=String(r);n.replace("$","jQuery");var a=new Function("return "+n)();$(document).ready(a)}});</script>
    
    

    I think this script is added by the module wp-optimized

    any idea? thanks!

Viewing 1 replies (of 1 total)
  • Plugin Support vupdraft

    (@vupdraft)

    Under Minify>>Java script can you try checking the option to “Contain each included file in its own block?(enable if trying to isolate a JavaScript error introduced by minifying or merging)

Viewing 1 replies (of 1 total)
  • The topic ‘Error Javascript when minimized’ is closed to new replies.