diff --git a/src/public/index.html b/src/public/index.html index e08067c..4c337a5 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -1699,7 +1699,9 @@ } function getConfigAutoUpdatePositionInUrl() { - return localStorage.getItem("config_auto_update_position_in_url") === "true"; + // use user preference, or enable by default + const value = localStorage.getItem("config_auto_update_position_in_url"); + return value === "true" || value == null; } function setConfigAutoUpdatePositionInUrl(value) {