Skip to content

Commit

Permalink
?enableLables ?extendedLabels ?trackLabels
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed May 26, 2021
1 parent 7bc64fa commit 33c4b01
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions html/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -697,14 +697,17 @@ function initPage() {
}, 30000);
}

if (localStorage['enableLabels'] == 'true'){
if (localStorage['enableLabels'] == 'true' || usp.has('enableLabels')) {
toggleLabels();
}
if (localStorage['extendedLabels']){
if (usp.has('extendedLabels')) {
extendedLabels = parseInt(usp.getFloat('extendedLabels')) + 2;
toggleExtendedLabels();
} else if (localStorage['extendedLabels']) {
extendedLabels = parseInt(localStorage['extendedLabels']) + 2;
toggleExtendedLabels();
}
if (localStorage['trackLabels'] == "true") {
if (localStorage['trackLabels'] == "true" || usp.has('trackLabels')) {
toggleTrackLabels();
}
if (localStorage['tableInView'] == "true") {
Expand Down

0 comments on commit 33c4b01

Please sign in to comment.