Uncaught TypeError: $.browser is undefined
-
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
JI 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]
- The topic ‘Uncaught TypeError: $.browser is undefined’ is closed to new replies.