summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-07-13 16:09:07 +0200
committerpennae <github@quasiparticle.net>2022-07-13 16:09:07 +0200
commit91f28bf586cc8e9adc5671462918770c752f686f (patch)
tree3007aded0e0b742826674395c791caab3f19dffc
parent2f8dce44d3f2be74b5c6ec0a2e7f4ceced715328 (diff)
downloadminor-skulk-91f28bf586cc8e9adc5671462918770c752f686f.tar.gz
minor-skulk-91f28bf586cc8e9adc5671462918770c752f686f.tar.xz
minor-skulk-91f28bf586cc8e9adc5671462918770c752f686f.zip
fix avatar change showing an error and not reloading the page
-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();
}