[Resolved] Mobile Header and jquery

Home Forums Support [Resolved] Mobile Header and jquery

Home Forums Support Mobile Header and jquery

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #227403
    Frank

    I’m using autoptimize to optimize js / css but I have an issue when I enable ‘mobile header’ in menu plus addon, clicking on ‘menu’ doesn’t list menu items, it freezes.

    I’ve noticed that if I exclude jquery.js from autoptimize, it works again but makes the page render blocking. I have tested it with better wordpress minify as well but without any success. I’m just moving jquery to the footer and not optimizing it.

    Is there any way to fix it?

    #227471
    Tom
    Lead Developer
    Lead Developer

    The next version of GP Premium/Menu Plus works much better when it comes to stuff like this (moving scripts around etc..).

    For now, I would just continue to exclude jquery.js (not doing so might cause other plugin problems as well down the road).

    When GP Premium 1.2.90 is released, you should be able to include it again.

    #277145
    Vernon Lees

    Hi Tom

    I just came across this exact same problem in 1.3.4.4. Is there a workaround for this?

    #277179
    Tom
    Lead Developer
    Lead Developer

    Are you using the latest version of GP Premium?

    #277190
    Vernon Lees

    Hi Tom, I think so 1.2.94

    #277245
    Tom
    Lead Developer
    Lead Developer

    Have you tried excluding jquery.js from the Autoptimize settings?

    #277273
    Vernon Lees

    Hi

    Yes this works. It does however cause the pagespeed error reported previously. Only happens when the mobile menu is selected.

    #277407
    Tom
    Lead Developer
    Lead Developer

    I’ll take a look at that today πŸ™‚

    #277625
    Tom
    Lead Developer
    Lead Developer

    Try setting these two options: https://www.screencast.com/t/hPClOIHVt

    That should fix it πŸ™‚

    #278146
    Vernon Lees

    Hi Tom

    Many thanks for this. I can confirm that this works perfectly> thanks for the great support again!

    #278229
    Tom
    Lead Developer
    Lead Developer

    Glad I could help πŸ™‚

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.