1(function() { 2 "use strict"; 3 4 var selectors={ 5 root:"#panelclose", 6 panellist:"#panellist", 7 buttonpanel:"#buttonpanel" 8 }; 9 10 11 12 $( window ).ready(function() { 13 14 $(selectors.root).find(selectors.buttonpanel).on('click',function(){ 15 const panellist= $(selectors.root).find(selectors.panellist); 16 const buttonpanel= $(selectors.root).find(selectors.buttonpanel); 17 //buttonpanel.addClass("animated fadeOut slow"); 18 buttonpanel.addClass("d-none"); 19 buttonpanel.removeClass("animated fadeIn"); 20 panellist.removeClass("d-none"); 21 panellist.addClass("animated fadeIn"); 22 23 }.bind(this)); 24 25 $(document).on("click",function (evt){ 26 if($(evt.target).closest(selectors.root).length==0){ 27 const panellist= $(selectors.root).find(selectors.panellist); 28 const buttonpanel= $(selectors.root).find(selectors.buttonpanel); 29 panellist.addClass("d-none"); 30 panellist.removeClass("animated fadeIn"); 31 buttonpanel.removeClass("d-none"); 32 buttonpanel.addClass("animated fadeIn"); 33 } 34 }.bind(this)) 35 36 }); 37 38})($)
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.