installation module

This commit is contained in:
Azgaar 2022-05-13 22:37:34 +03:00
parent e2e4f6dee2
commit 6a6264e21c
5 changed files with 84 additions and 7 deletions

View file

@ -2,10 +2,7 @@
// module to control the Tools options (click to edit, to re-geenerate, tp add)
toolsContent.addEventListener("click", function (event) {
if (customization) {
tip("Please exit the customization mode first", false, "warning");
return;
}
if (customization) return tip("Please exit the customization mode first", false, "warning");
if (!["BUTTON", "I"].includes(event.target.tagName)) return;
const button = event.target.id;