mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-11 06:05:16 +08:00
notification is now emptied after hiding it
This commit is contained in:
parent
4c44ccec4a
commit
e520dea8bc
1 changed files with 4 additions and 1 deletions
|
@ -135,7 +135,10 @@ function showNotification(text, time) {
|
|||
top: `-${noti.outerHeight()}px`,
|
||||
},
|
||||
250,
|
||||
"swing"
|
||||
"swing",
|
||||
() => {
|
||||
noti.text("");
|
||||
}
|
||||
);
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue