mirror of
https://framagit.org/JonathanMM/sutom.git
synced 2024-05-06 07:53:19 +02:00
Correction dans l'animation de disparition du message de notification
This commit is contained in:
parent
b63949d4a7
commit
693edb33cc
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue