1(function($) { 2 "use strict"; 3 if ($.fn.menumaker) { 4 let menuArgs = { 5 title: "Menu", // The text of the button which toggles the menu 6 breakpoint: 767, // The breakpoint for switching to the mobile view 7 format: "multitoggle" // It takes three values: dropdown for a simple toggle menu, select for select list menu, multitoggle for a menu where each submenu can be toggled separately 8 }; 9 let cssmenu = $("#cssmenu").menumaker(menuArgs); 10 var siteNavigation = $('#cssmenu').children('ul'); 11 siteNavigation.find('a').on('focus blur', function() { 12 let parentEl = $(this).parents('.menu-item, .page_item'); 13 let menufocus = parentEl.toggleClass('focus'); 14 if (parentEl.hasClass('focus')) { 15 parentEl.children('.sub-menu').css('display', 'block'); 16 parentEl.children('.submenu-button').addClass('submenu-opened'); 17 } 18 }); 19 } 20 $(window).on('scroll', function() { 21 var topspace = $(this).scrollTop(); 22 if (topspace > 300) { 23 $('.scrooltotop').css('display', 'block'); 24 } else { 25 $('.scrooltotop').css('display', 'none'); 26 } 27 }); 28 $('.scrooltotop').click(function() { 29 $('html,body').animate({ scrollTop: 0 }, 'slow'); 30 return false; 31 }); 32 $('.contact-form').parents('.entry-content').addClass('contact-form-parent'); 33 $('table').addClass('table-bordered table').wrap('<div class="table-responsive"></div>'); 34 $('.shop_table').removeClass('table-bordered'); 35 $('.navigation.pagination').addClass('Page navigation example'); 36 $('.navigation.pagination div.nav-links').wrapInner('<ul class="pagination"></ul>'); 37 $('div.nav-links ul.pagination * ').wrap('<li class="page-item"></li>'); 38 $('p.wp-block-tag-cloud a').removeAttr('style'); 39 40})(jQuery); 41 42jQuery(window).on('load', function() { 43 var $ = jQuery; 44 $('.scrooltotop').css('display', 'none'); 45 var grid = $('.masonaryactive').imagesLoaded(function() { 46 grid.masonry({ 47 itemSelector: '.blog-grid-layout', 48 }); 49 }); 50 $('#preloader').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.