1.1.44 setTimeout for popup display
This commit is contained in:
@@ -228,7 +228,9 @@ function checkStateCookie () {
|
|||||||
document.querySelector(".cookie_block").classList.add("show")
|
document.querySelector(".cookie_block").classList.add("show")
|
||||||
}
|
}
|
||||||
if (!window.document.cookie.includes("popup_show=false")){
|
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')){
|
if(!window.document.cookie.includes("first_authorization=true") && window.document.getElementById('authenticated_img')){
|
||||||
document.querySelector(".popup_wrapper").classList.add("show")
|
document.querySelector(".popup_wrapper").classList.add("show")
|
||||||
|
|||||||
Reference in New Issue
Block a user