diff --git a/src/client/app/ui/notifications.js b/src/client/app/ui/notifications.js index 84614e43..37e91168 100644 --- a/src/client/app/ui/notifications.js +++ b/src/client/app/ui/notifications.js @@ -17,7 +17,7 @@ class Toast { this.expires = Date.now() + (data.duration || DEFAULT_DURATION) - var html = html` + var toast = html`
@@ -26,9 +26,9 @@ class Toast {
` if (this.html) { - this.html = morph(this.html, html) + this.html = morph(this.html, toast) } else { - this.html = html + this.html = toast } }