1(function ($) { 2 'use strict'; 3 4 function login_dropdown() { 5 $('.site-header-account').mouseenter(function () { 6 $('.account-dropdown', this).append($('.account-wrap')); 7 }); 8 } 9 10 function blog_style() { 11 $('.blog .hentry, .archive .hentry').last().css({'border-bottom': 0, 'padding-bottom': 0}); 12 } 13 14 function handleWindow() { 15 var body = document.querySelector('body'); 16 17 if (window.innerWidth > body.clientWidth + 5) { 18 body.classList.add('has-scrollbar'); 19 body.setAttribute('style', '--scroll-bar: ' + (window.innerWidth - body.clientWidth) + 'px'); 20 } else { 21 body.classList.remove('has-scrollbar'); 22 } 23 } 24 25 function image_carousel() { 26 $('body .elementor-widget-media-carousel.elementor-icon-fitlap .elementor-main-swiper .elementor-custom-embed-play').append('<span class="icon-fitlap"><i class="fitlap-icon-play"></i></span>'); 27 $('body .elementor-widget-media-carousel.elementor-icon-fitlap .swiper-slide').has('.elementor-custom-embed-play').each(function () { 28 $(this).append($(this).find('.elementor-carousel-image')); 29 $(this).children('a').addClass('media-video').append($(this).find('.elementor-custom-embed-play')); 30 }); 31 } 32 33 function blog_grid() { 34 let $item = $('body:not(.single) .site-main article'); 35 36 $item.each(function () { 37 $(this).has('.more-link-wrap').find('.entry-content').addClass('link-more'); 38 }); 39 } 40 41 handleWindow(); 42 blog_style(); 43 login_dropdown(); 44 image_carousel(); 45 blog_grid(); 46})(jQuery); 47
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.