1"use strict"; 2$(document).ready(function() { 3 var $window = $(window); 4 //add id to main menu for mobile menu start 5 var getBody = $("body"); 6 var bodyClass = getBody[0].className; 7 $(".main-menu").attr('id', bodyClass); 8 //add id to main menu for mobile menu end 9 10 // card js start 11 $(".card-header-right .close-card").on('click', function() { 12 var $this = $(this); 13 $this.parents('.card').animate({ 14 'opacity': '0', 15 '-webkit-transform': 'scale3d(.3, .3, .3)', 16 'transform': 'scale3d(.3, .3, .3)' 17 }); 18 19 setTimeout(function() { 20 $this.parents('.card').remove(); 21 }, 800); 22 }); 23 24 $(".card-header-right .minimize-card").on('click', function() { 25 var $this = $(this); 26 var port = $($this.parents('.card')); 27 var card = $(port).children('.card-block').slideToggle(); 28 $(this).toggleClass("icon-minus").fadeIn('slow'); 29 $(this).toggleClass("icon-plus").fadeIn('slow'); 30 }); 31 $(".card-header-right .full-card").on('click', function() { 32 var $this = $(this); 33 var port = $($this.parents('.card')); 34 port.toggleClass("full-card"); 35 $(this).toggleClass("icon-maximize"); 36 $(this).toggleClass("icon-minimize"); 37 }); 38 39 $("#more-details").on('click', function() { 40 $(".more-details").slideToggle(500); 41 }); 42 $(".mobile-options").on('click', function() { 43 $(".navbar-container .nav-right").slideToggle('slow'); 44 }); 45 // card js end 46 47 $(function() { 48 $('[data-toggle="tooltip"]').tooltip() 49 }) 50 $('.theme-loader').fadeOut('slow', function() { 51 $(this).remove(); 52 }); 53});
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.