1$(function() { 2 3 $('.navbar-submenu-toggle').click(function(event){ 4 event.preventDefault(); 5 child = $(this).parent().next('.dropdown-menu'); 6 // toggle is complete 7 if($(child).is(":visible") ) { 8 $(this).removeClass('minus-sign'); 9 $(this).addClass('plus-sign'); 10 } else { 11 $(this).removeClass('plus-sign'); 12 $(this).addClass('minus-sign'); 13 } 14 15 // slide but hidden in desktop view afterwards... 16 $(child).slideToggle("swing", function(){}); 17 }); 18 19 // mobile menu open 20 if(isMobile()) { 21 $('.nav-item.active:not(.current) > .dropdown-menu').slideToggle("swing", function(){ 22 if($(this).is(":visible") ) { 23 $(this).prev().find('.navbar-submenu-toggle').removeClass('minus-sign'); 24 $(this).prev().find('.navbar-submenu-toggle').addClass('plus-sign'); 25 } else { 26 $(this).prev().find('.navbar-submenu-toggle').removeClass('plus-sign'); 27 $(this).prev().find('.navbar-submenu-toggle').addClass('minus-sign'); 28 } 29 }); 30 } 31 32 33 34});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.