aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/script.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/script.js b/static/script.js
index a172a94f..0b87dde5 100644
--- a/static/script.js
+++ b/static/script.js
@@ -158,8 +158,8 @@ function setVar(str, val) {
}
function close_all_popups () {
- for (let popup of document.getElementsByClassName("popup")) {
- popup.classList.remove("show");
+ for (let popup of document.getElementsByClassName("tpd-tooltip")) {
+ popup.getElementsByClassName('close-tooltip')[0].click();
}
}