Skip to content

Commit

Permalink
fix(poi-rlt): activated by default
Browse files Browse the repository at this point in the history
  • Loading branch information
azarz committed Jan 9, 2025
1 parent 97ff1ef commit 278b95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/poi.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class POI {

let rltChecked = "checked";
// Chargement de la valeut de la checkbox POI RLT
if (localStorage.getItem("poirltChecked") !== "checked") {
if (localStorage.getItem("poirltChecked") && localStorage.getItem("poirltChecked") !== "checked") {
rltChecked = "";
}

Expand Down

0 comments on commit 278b95b

Please sign in to comment.