1//Back To Top Link 2$(document).ready(function(){ 3 $(window).scroll(function () { 4 if ($(this).scrollTop() > 50) { 5 $('#back-to-top').fadeIn(); 6 } else { 7 $('#back-to-top').fadeOut(); 8 } 9 }); 10 // scroll body to 0px on click 11 $('#back-to-top').click(function () { 12 $('body,html').animate({ 13 scrollTop: 0 14 }, 400); 15 return false; 16 }); 17 18 //Mobile Top Nav 19 $("#header .dropdown-toggle.nav-link").click(function(e) { 20 let $this = $(this); 21 if ($this.attr("aria-expanded") === "true") { 22 window.location.href = this.href; 23 } 24 25 $(".side-navigation a.active").parents(".nested-list").addClass("show"); 26}); 27}); 28 29//Multilevel dropdown 30$('.dropdown-menu a.dropdown-toggle').on('click', function(e) { 31 if (!$(this).next().hasClass('show')) { 32 $(this).parents('.dropdown-submenu').first().find('.show').removeClass("show"); 33 $(this).next(".dropdown-submenu").addClass('show'); 34 $(this).parents('li.nav-item.dropdown.show').on('hidden.bs.dropdown', function(e) { 35 $(e.target).find('.dropdown-submenu.show').removeClass("show"); 36 }); 37 } else { 38 // if double clicked navigate to link 39 window.location.href = this.href; 40 } 41 return false; 42}); 43 44//Search Expand 45$('#searchButton').click(function() { 46 $('#searchBar').toggle(); 47}); 48 49//Image Title Script 50$("img[alt]:not([title])").each(function() { 51 let $this = $(this); 52 $this.attr("title", $this.attr("alt")); 53}); 54 55// reinitialize iframes in tabs when tab is opened 56$(".tab-pane iframe:visible").data("loaded", true); 57 58$('a[data-toggle="tab"]').on('shown.bs.tab', function (event) { 59$($(event.target).attr("href")).find("iframe").each(function() { 60const $this = $(this); 61if (!$this.data("loaded")) { 62this.src = this.src; 63$this.data("loaded", true); 64} 65}); 66});
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.