From 5dbb5fa2e153baa5c0896fea578a10604650d0f0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 6 Jan 2019 12:35:34 +0100 Subject: [PATCH] notification: disambiguate var names --- src/client/app/ui/notifications.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 } }