summaryrefslogtreecommitdiff
path: root/web/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/js/main.js')
-rw-r--r--web/js/main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/js/main.js b/web/js/main.js
index bffcdfb..23610b6 100644
--- a/web/js/main.js
+++ b/web/js/main.js
@@ -158,6 +158,7 @@ function showMessage(message, className) {
m.className = className || "";
$("message").innerText = message;
$("message-modal-close").hidden = true;
+ m.close();
m.showModal();
}