• Resolved Web Assembler

    (@webassembler)


    Hi there

    I’ve just updated the plugin to the latest version and there is a jQuery error that’s preventing the menu from working:

    It’s on line 50 of the showPanel function. The error is undefined is not a function:

    anchor.parent().siblings().find('.mega-toggle-on').addBack('.mega-toggle-on').children('a').each(function() {

    Thanks,
    Anthony

    https://www.ads-software.com/plugins/megamenu/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi Anthony

    Thanks for the report.

    I suspect it’s the addBack function. The ‘addBack’ function has been in jQuery since v1.8, so I think your version of jQuery must be 1.7 or below, which is odd because the default version of jQuery shipped with WordPress is v1.11.

    I think your theme must be using an old version of jQuery. Please try installing the jQuery Updater plugin, if that doesn’t work please send me a link to your site and I’ll take a look.

    Regards,
    Tom.

    Thread Starter Web Assembler

    (@webassembler)

    Hi Tom

    Thank you very much – that was exactly it as I was running jQuery 1.7.1.

    I had deregistered jQuery to use that version from a while back and didn’t even noticed it was out of date, great spot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘jQuery error v1.5.2’ is closed to new replies.