From 91f28bf586cc8e9adc5671462918770c752f686f Mon Sep 17 00:00:00 2001 From: pennae Date: Wed, 13 Jul 2022 16:09:07 +0200 Subject: fix avatar change showing an error and not reloading the page --- web/js/main.js | 1 + 1 file changed, 1 insertion(+) (limited to 'web/js') 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(); } -- cgit v1.2.3