feat: Sql task window

This commit is contained in:
2025-01-25 22:18:21 +03:00
committed by Sweetbread
parent 2b5cd9782f
commit 312dfccd79
4 changed files with 87 additions and 29 deletions
+4 -5
View File
@@ -5,21 +5,20 @@
window.onload = init;
function init(){
const popupOverlay = document.getElementById("popup-overlay");
const popup = document.getElementById("popup");
const help = document.getElementById("help");
function showPopup() {
popupOverlay.style.display = "block";
popup.style.display = "block";
console.log('cat')
}
function hidePopup() {
popupOverlay.style.display = "none";
popup.style.display = "none";
}
help.addEventListener("click", showPopup);
popupOverlay.addEventListener("click", hidePopup);
popup.addEventListener("click", (event) => event.stopPropagation());
popup.addEventListener("click", hidePopup);
}
})(window, document, undefined);