1/* Theme Name: Modenta - Multipurpose Templates 2 Author: Shreethemes 3 Version: 1.0.0 4 Created: May 2019 5 File Description:Main JS file of the template 6*/ 7 8(function ($) { 9 'use strict'; 10 11 // Magnific Popup 12 $('.mfp-image').magnificPopup({ 13 type: 'image', 14 closeOnContentClick: true, 15 mainClass: 'mfp-fade', 16 gallery: { 17 enabled: true, 18 navigateByImgClick: true, 19 preload: [0, 1] 20 } 21 }); 22 23 $(function () { 24 $('[data-toggle="tooltip"]').tooltip() 25 }) 26 27 // Loader 28 $(window).on('load', function() { 29 $('#status').fadeOut(); 30 $('#preloader').delay(350).fadeOut('slow'); 31 $('body').delay(350).css({ 32 'overflow': 'visible' 33 }); 34 }); 35 36 // BACK TO TOP 37 $(window).scroll(function(){ 38 if ($(this).scrollTop() > 100) { 39 $('.back-to-top').fadeIn(); 40 } else { 41 $('.back-to-top').fadeOut(); 42 } 43 }); 44 45 $(".back-to-top").on("click", function() { 46 $("html, body").animate({ scrollTop: 0 }, 1000); 47 return false; 48 }); 49 50 $("#cart").on("click", function() { 51 $(".shopping-cart").fadeToggle( "fast"); 52 }); 53})(jQuery)
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.