auto update position in url by default
This commit is contained in:
@ -1699,7 +1699,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getConfigAutoUpdatePositionInUrl() {
|
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) {
|
function setConfigAutoUpdatePositionInUrl(value) {
|
||||||
|
Reference in New Issue
Block a user