Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi Falguni,

    I still see an error in case we have no href 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,

Viewing 1 replies (of 1 total)