WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Javascript Error in Mobile Breaking Dropdown Menu

[Resolved] Javascript Error in Mobile Breaking Dropdown Menu

Viewing 10 replies - 1 through 10 (of 10 total)
  • This same problem just broke my site as well.

    Plugin Contributor Richard Archambault

    @richardmtl

    Happiness Engineer

    Hello,

    I see the error on your site, but I don’t have this error on my own site. Can you try turning off all of your plugins temporarily to see if this error might be caused by a plugin conflict? Let me know once you’ve done so and I ll have a look.

    Ok so it looks like the NextGen Gallery is now conflicting. It wasn’t before the update. However, it is deactivated, and the dropdown menu still is not functioning in mobile. As you can imagine, I’m hoping to get this resolved ASAP as the site is virtually unusable in mobile.

    Plugin Contributor Richard Archambault

    @richardmtl

    Happiness Engineer

    Hi TxShan,

    I looked at your site again, and I don’t see the javascript error anymore. I also looked on my iPhone, and your site looks fine, but the menu doesn’t work. Can you try with the default TwentyEleven theme to see if the menu works with it?

    Also, I activated NextGen on my test site, and I was able to reproduce the error. I have contacted them here to inform them, we’ll see what they say about it:

    http://wordpress.org/support/topic/conflict-with-jetpack-5?replies=1

    I switched to the TwentyEleven theme, and the menu is still broken. Let me know once you test so that I can switch back 🙂

    Thank you for looking into this, I appreciate your time!

    Plugin Contributor Richard Archambault

    @richardmtl

    Happiness Engineer

    Ok, I’ve had a look!

    Can you describe to me how your menu is set? Is it in the Appearance -> Menus page, or is it done elsewhere? If it is in the Appearance – Menus page, it should work fine in the Jetpack mobile theme. Let me know!

    The menu is set in Appearance -> Menus. It is the only menu and is also set as the primary.

    I’m not sure what else to do? The menu is not recognizing clicks at all. I used console.log to log the clicks in the small-menu.js file, and it doesn’t recognize the clicks. I have also tried adjusting the z-index, as another user in the forum had, but that didn’t work either.

    I would revert to the previous version of Jetpack, except that the Twitter widget stopped updating…

    Plugin Contributor Richard Archambault

    @richardmtl

    Happiness Engineer

    I’m stymied by this myself, because I see no reason why it wouldn’t work.

    So, let’s get back to basics, then. Turn off all plugins except for Jetpack, stay on a default theme, and make sure everything (Jetpack and WordPress) is up to date. You may want to even reinstall Jetpack, just in case there was file corruption or something. Then, check if the menu works once you’ve done all that, and let me know.

    Ok so I reinstalled Jetpack and that seems to have fixed the menu. So weird. Thank you again.

    Plugin Contributor Richard Archambault

    @richardmtl

    Happiness Engineer

    Hmm, ok, thanks for letting me know!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] Javascript Error in Mobile Breaking Dropdown Menu’ is closed to new replies.