From db8b3493a2ea08372cf76580074d56d3f1d2864b Mon Sep 17 00:00:00 2001 From: RemixDev Date: Fri, 17 Apr 2020 17:25:01 +0200 Subject: [PATCH] Fixed settings and toasts not working --- public/js/app/app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/js/app/app.js b/public/js/app/app.js index 1ca24db..22715fd 100644 --- a/public/js/app/app.js +++ b/public/js/app/app.js @@ -1,14 +1,14 @@ // Initialization const socket = io.connect(window.location.href) -localStorage = window.localStorage // tabs stuff search_selected = '' main_selected = '' +var localStorage = window.localStorage // toasts stuff -let toastsWithId = {} +var toastsWithId = {} // settings -lastSettings = {} -lastCredentials = {} +var lastSettings = {} +var lastCredentials = {} function toast(msg, icon = null, dismiss = true, id = null) { if (toastsWithId[id]) {