1.1.44 setTimeout for popup display

This commit is contained in:
2024-07-25 17:19:45 +03:00
parent bb60f9d914
commit 632ff3c812

View File

@@ -228,7 +228,9 @@ function checkStateCookie () {
document.querySelector(".cookie_block").classList.add("show")
}
if (!window.document.cookie.includes("popup_show=false")){
document.querySelector(".popup_wrapper").classList.add("show")
setTimeout(() => {
document.querySelector('.popup_wrapper').classList.add('show');
}, 15000);
}
if(!window.document.cookie.includes("first_authorization=true") && window.document.getElementById('authenticated_img')){
document.querySelector(".popup_wrapper").classList.add("show")