fixed bug introduced by moving from cookies to local storage

This commit is contained in:
Jack 2021-04-13 14:50:48 +01:00
parent ed08fb234b
commit b4f292e7f0

View file

@ -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) {