1jQuery(document).ready(function($) { 2 3//OFF CANVAS 4 $('[data-toggle="offcanvas"]').click(function () { 5 $('#sidebar-offcanvas').toggleClass('active') 6 }); 7 8// ANIMATIONS 9 wow = new WOW( 10 { 11 boxClass: 'wow', 12 animateClass: 'animated', 13 offset: 0, 14 mobile: true, 15 live: true 16 } 17 ) 18 wow.init(); 19 20// NAV HEIGHT 21 $(window).on("resize", function () { 22 $header_height = $('#header').outerHeight(); 23 $footer_height = $('#footer').outerHeight(); 24 $window_height = $( window ).height(); 25 $neg_height = $header_height + $footer_height; 26 $content_height = $window_height - $neg_height; 27 28 $('body').css({"padding-top":$header_height+"px"}); 29 $('#main').css({"min-height":$content_height+"px"}); 30 31 }).resize(); 32 33// MENU TOGGLE 34 $('.navbar-toggler').click(function(){ 35 if ($('.navbar-toggler .fa').hasClass('fa-bars')){ 36 //$('.navbar-toggler .fa').removeClass('fa-bars', '150', 'easeInQuart').addClass('fa-close', '150', 'easeInQuart'); 37 $('.navbar-toggler .fa').switchClass('fa-bars', 'fa-close', '800', 'easeInOutQuart' ); 38 } else { 39 //$('.navbar-toggler .fa').removeClass('fa-close', '150', 'easeInQuart').addClass('fa-bars', '150', 'easeInQuart'); 40 $('.navbar-toggler .fa').switchClass('fa-close', 'fa-bars', '800', 'easeInOutQuart' ); 41 } 42 }); 43 44});
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.