1(function($) { 2 "use strict"; 3 4 UNCODE.is_scrolling = false; 5 6UNCODE.disableHoverScroll = function() { 7 8 if (!UNCODE.isMobile && !UNCODE.isFullPage && !SiteParameters.is_frontend_editor && (!SiteParameters.smoothScroll || SiteParameters.smoothScrollDisableHover )) { 9 var body = document.body, 10 timer; 11 12 window.addEventListener('scroll', function() { 13 var delay = ( body.classList.contains('bg-changer-init') ) ? SiteParameters.bg_changer_time : 300; 14 clearRequestTimeout(timer); 15 if ( body.classList && !body.classList.contains('disable-hover') ) { 16 body.classList.add('disable-hover'); 17 window.dispatchEvent(new CustomEvent('disable-hover')); 18 } 19 UNCODE.is_scrolling = true; 20 21 timer = requestTimeout(function() { 22 if ( body.classList ) { 23 body.classList.remove('disable-hover'); 24 window.dispatchEvent(new CustomEvent('enable-hover')); 25 } 26 UNCODE.is_scrolling = false; 27 }, delay); 28 }, false); 29 } 30}; 31 32 33})(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.