Top Menu Item can lead to 404
-
If your top menu doesn’t have an href it leads to an undefined page so it gives 404.
It’s in nisarg.js arround:
//handles top level menu item having children $( '.navbar-nav > li.menu-item > .dropdown-toggle' ).click( function(){ if($(this).attr('target') == '_blank') window.open(this.href); // $( this ).attr( 'href' ); else window.location = $( this ).attr( 'href' ); });
If we have no href (just a button) it should just open the menu and not try to go anywhere.
Regards,
- The topic ‘Top Menu Item can lead to 404’ is closed to new replies.