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(); } }