1jQuery(document).ready(function($) { 2 const cookieNotice = $('#universal-cookie-notice'); 3 const cookieAccept = $('#universal-cookie-accept'); 4 5 // Ïîêàçûâàåì óâåäîìëåíèå ÷åðåç 1 ñåêóíäó 6 setTimeout(function() { 7 cookieNotice.fadeIn(300); 8 }, 1000); 9 10 // Îáðàáîò÷èê ïðèíÿòèÿ cookies 11 cookieAccept.on('click', function() { 12 $.ajax({ 13 url: universal_cookie_ajax.url, 14 type: 'POST', 15 data: { 16 action: 'hide_cookie_notice', 17 nonce: '<?php echo wp_create_nonce("cookie_nonce"); ?>' 18 }, 19 success: function() { 20 cookieNotice.animate({ 21 opacity: 0, 22 bottom: '-100px' 23 }, 500, function() { 24 cookieNotice.hide(); 25 }); 26 } 27 }); 28 }); 29});
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.