From 775c8696cafa20c19fff098f43440e882bd067ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 22 Jan 2021 01:15:24 +0100 Subject: [PATCH] Clear alert message when hidden issue10006 review324811002 --- src/window.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/window.js b/src/window.js index 7eca19d794..425ce6ae32 100644 --- a/src/window.js +++ b/src/window.js @@ -66,6 +66,7 @@ }).append(jQuery('', { 'aria-hidden': true }).append('×')).click(function() { + this.text.text(''); this.el.hide(); }.bind(this))).append(this.text); this.el.hide(); @@ -78,6 +79,7 @@ this.text.text(message); this.el.show(); } else { + this.text.text(''); this.el.hide(); } }