Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Frank Goossens

    (@futtta)

    well, you could either:
    * exclude js/jquery/jquery.js from optimization
    OR
    * enable the “also aggregate inline JS” option

    hope this helps,
    frank

    Thread Starter stan255

    (@stan255)

    It worked!
    What’s the difference between “js/jquery/jquery.js” and “jquery.js” in the exclude section?

    Plugin Author Frank Goossens

    (@futtta)

    jquery.js is less specific, so it could match more files which might not be what we want.

    but happy it works. could you do me a favor and mark AO 2.0.2 as working with WordPress 4.5. here?

    frank

    Thread Starter stan255

    (@stan255)

    Something funny is going on.
    When I add js/jquery/jquery.js into the exclude section, my google font css disappear.

    When I remove it, it goes back to normal.

    Here’s a screenshot: https://postimg.org/image/vr4pdaa6p/ and example url: https://www.owlguru.com/majors/category/degrees/

    Another weird thing is the menu dropdown stops working if I exclude js/jquery/jquery.js

    For your request, I have marked AO 2.0.2 as working with wp 4.5 ??

    Plugin Author Frank Goossens

    (@futtta)

    OK, based on these JS errors:

    08:58:30.179 TypeError: jQuery.backstretch is not a function
    08:58:30.304 TypeError: windowObj.scrollBottom is not a function

    try adding these to your JS exclusions;

    x/framework/js/dist/site/x-head.min.js, assets/js/dist/site/cs-head.min.js

    (you might be easier off either forcing JS in head or also aggregating inline JS though)

    frank

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘jQuery is not defined error’ is closed to new replies.