We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e7df3c commit ace54c7Copy full SHA for ace54c7
simpletoast.js
@@ -3,7 +3,7 @@
3
*/
4
(() => {
5
if (window !== window.top) return;
6
- const version = buildVersion(1, 4, 1);
+ const version = buildVersion(1, 5);
7
if (window.SimpleToast) {
8
if (SimpleToast.version) {
9
if (SimpleToast.version >= version.number) return;
@@ -147,6 +147,7 @@
147
body.textContent = text;
148
el.appendChild(body);
149
const toast = {
150
+ exists: () => toasts.has(id),
151
close: () => {
152
root.removeChild(el);
153
toasts.delete(id);
0 commit comments