v58: фикс init — проверка cu перед show()
This commit is contained in:
parent
6de0432dcc
commit
7a78473977
@ -288,7 +288,7 @@ document.getElementById("mo").addEventListener("click",function(e){if(e.target==
|
||||
document.addEventListener("keydown",function(e){if(e.key==="Escape")closeM()});
|
||||
document.addEventListener("click",function(e){if(!e.target.closest(".notif-btn")&&!e.target.closest(".notif-drop"))document.getElementById("nd").classList.remove("on")});
|
||||
|
||||
le();var su=localStorage.getItem("su");if(su){try{cu=JSON.parse(su);show()}catch(e){}}
|
||||
le();var su=localStorage.getItem("su");if(su){try{cu=JSON.parse(su);if(cu)show()}catch(e){}}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue
Block a user