aboutsummaryrefslogtreecommitdiff
path: root/src/app/toast.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/toast.js')
-rw-r--r--src/app/toast.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/toast.js b/src/app/toast.js
index 8d78e37..2a8555e 100644
--- a/src/app/toast.js
+++ b/src/app/toast.js
@@ -25,6 +25,7 @@ function Toast(properties) {
let id = Date.now();
+ if (document.getElementById(id)) {id = id + 1}
let el = document.createElement("div");
el.classList.add("toast");