From b4f292e7f0eaa437cfaac1b7a73280e354e53eb3 Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 13 Apr 2021 14:50:48 +0100 Subject: [PATCH] fixed bug introduced by moving from cookies to local storage --- src/js/tag-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/tag-controller.js b/src/js/tag-controller.js index 565cc164b..e403a73b2 100644 --- a/src/js/tag-controller.js +++ b/src/js/tag-controller.js @@ -39,7 +39,7 @@ export function toggle(tagid, nosave = false) { export function loadActiveFromLocalStorage() { // let newTags = $.cookie("activeTags"); let newTags = window.localStorage.getItem("activeTags"); - if (newTags !== undefined && newTags !== "") { + if (newTags != undefined && newTags !== "") { try { newTags = JSON.parse(newTags); } catch (e) {