Skip to content

Commit

Permalink
notification is now emptied after hiding it
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed Aug 19, 2020
1 parent 4c44cce commit e520dea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion public/js/misc.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,10 @@ function showNotification(text, time) {
top: `-${noti.outerHeight()}px`,
},
250,
"swing"
"swing",
() => {
noti.text("");
}
);
}
);
Expand Down

0 comments on commit e520dea

Please sign in to comment.