diff --git a/ts/notificationMessage.ts b/ts/notificationMessage.ts index 734777b..d7d358b 100644 --- a/ts/notificationMessage.ts +++ b/ts/notificationMessage.ts @@ -11,8 +11,13 @@ export default class NotificationMessage { this._currentTimeout = setTimeout( (() => { this._notificationArea.style.opacity = "0"; - this._notificationArea.innerHTML = ""; - this._currentTimeout = undefined; + this._currentTimeout = setTimeout( + (() => { + this._notificationArea.innerHTML = ""; + this._currentTimeout = undefined; + }).bind(this), + 1000 + ); }).bind(this), 5000 );