File manager - Edit - /home/antilam/web/antilam.ru/public_html/wp-content/themes/woodmart/js/scripts/global/ageVerify.min.js
Back
!function(e){woodmartThemeModule.ageVerify=function(){"undefined"!=typeof Cookies&&"yes"===woodmart_settings.age_verify&&"confirmed"!==Cookies.get("woodmart_age_verify")&&(e.magnificPopup.open({items:{src:".wd-age-verify"},type:"inline",closeOnBgClick:!1,closeBtnInside:!1,showCloseBtn:!1,enableEscapeKey:!1,removalDelay:600,closeMarkup:woodmart_settings.close_markup,tLoading:woodmart_settings.loading,fixedContentPos:!0,callbacks:{beforeOpen:function(){this.wrap.addClass("wd-age-verify-wrap")}}}),e(".wd-age-verify-allowed").on("click",function(o){o.preventDefault(),Cookies.set("woodmart_age_verify","confirmed",{expires:parseInt(woodmart_settings.age_verify_expires),path:"/",secure:woodmart_settings.cookie_secure_param}),e.magnificPopup.close()}),e(".wd-age-verify-forbidden").on("click",function(o){o.preventDefault(),e(".wd-age-verify").addClass("wd-forbidden")}))},e(document).ready(function(){woodmartThemeModule.ageVerify()})}(jQuery);
| ver. 1.4 |
Github
|
.
| PHP 8.4.22 | Generation time: 0.11 |
proxy
|
phpinfo
|
Settings