From 995733d6e31c2a4ebde2c6364017784593b24c97 Mon Sep 17 00:00:00 2001 From: sysadminix Date: Fri, 25 Oct 2024 13:04:25 +0300 Subject: [PATCH] TRI-275 disable googlesindicator script in head section --- static/js/global_js.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/static/js/global_js.js b/static/js/global_js.js index a018c96..9d084c5 100644 --- a/static/js/global_js.js +++ b/static/js/global_js.js @@ -227,11 +227,11 @@ function checkStateCookie () { if (!window.document.cookie.includes("allow_cookie=true")){ document.querySelector(".cookie_block").classList.add("show") } - // if (!window.document.cookie.includes("popup_show=false")){ - // setTimeout(() => { - // document.querySelector('.popup_wrapper').classList.add('show'); - // }, 15000); - // } + if (!window.document.cookie.includes("popup_show=false")){ + 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") }