Server IP : 192.64.112.168 / Your IP : 18.119.19.251 Web Server : Apache System : Linux nc-ph-2300-85.bluforrest.com 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 05:23:44 EST 2023 x86_64 User : expressoneac ( 1128) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/expressoneac/www/wp-content/themes/woodmart/js/scripts/global/ |
Upload File : |
/* global woodmart_settings */ (function($) { woodmartThemeModule.cookiesPopup = function() { var cookies_version = woodmart_settings.cookies_version; if ( typeof Cookies === 'undefined' ) { return; } if (Cookies.get('woodmart_cookies_' + cookies_version) === 'accepted') { return; } var popup = $('.wd-cookies-popup'); setTimeout(function() { popup.addClass('popup-display'); popup.on('click', '.cookies-accept-btn', function(e) { e.preventDefault(); acceptCookies(); }); }, 2500); var acceptCookies = function() { popup.removeClass('popup-display').addClass('popup-hide'); Cookies.set('woodmart_cookies_' + cookies_version, 'accepted', { expires: 60, path : '/', secure : woodmart_settings.cookie_secure_param }); }; }; $(document).ready(function() { woodmartThemeModule.cookiesPopup(); }); })(jQuery);