From 95aebf737ec578a0c7db484b62a5e73e271d9dcc Mon Sep 17 00:00:00 2001 From: JonathanMM Date: Wed, 12 Jan 2022 08:54:29 +0100 Subject: [PATCH] Correction de la hauteur de la zone de notification quand le message est vide --- ts/notificationMessage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/notificationMessage.ts b/ts/notificationMessage.ts index d7d358b..bcc08d5 100644 --- a/ts/notificationMessage.ts +++ b/ts/notificationMessage.ts @@ -13,7 +13,7 @@ export default class NotificationMessage { this._notificationArea.style.opacity = "0"; this._currentTimeout = setTimeout( (() => { - this._notificationArea.innerHTML = ""; + this._notificationArea.innerHTML = " "; this._currentTimeout = undefined; }).bind(this), 1000