• The mobile or hambergr menu is not working. When I went into development mode I get the error:

    Uncaught TypeError: $.browser is undefined
    <anonymous> https://www.quaffee.com/wp-content/themes/i-excel/inc/responsive-menu/js/wprmenu.js?ver=2017-03-16:97
    jQuery 4
    i
    fireWith
    ready
    J

    I took a dump of the code:
    //Additional fixes on change device orientation
    if( $.browser.mozilla ) {screen.addEventListener(“orientationchange”, function() {updateOrientation()}); //firefox
    } else if( window.addEventListener ) {
    window.addEventListener(‘orientationchange’, updateOrientation, false);
    }
    else {
    window.attachEvent( “orientationchange” );
    }

    We use a basic child theme that inherits almost everything from i-excel.

    Any idea why to this is happening?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter wassa

    (@wassa)

    I have checked the file in the folder above and it does not have that line in it, somehow when you enable Theme Optsions->Responsive Menu->Enable Mobile Notification this error happens. I have disabled that option and the error goes away but so does the hamburger menu

Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught TypeError: $.browser is undefined’ is closed to new replies.