From e520dea8bc8fdbfe6ab029d90a07eb1bad323fb3 Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 19 Aug 2020 19:42:00 +0100 Subject: [PATCH] notification is now emptied after hiding it --- public/js/misc.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/js/misc.js b/public/js/misc.js index 98c0bf3ca..29a6b388b 100644 --- a/public/js/misc.js +++ b/public/js/misc.js @@ -135,7 +135,10 @@ function showNotification(text, time) { top: `-${noti.outerHeight()}px`, }, 250, - "swing" + "swing", + () => { + noti.text(""); + } ); } );