auto update position in url by default
This commit is contained in:
parent
001ef68a1a
commit
887ef0ffa9
1 changed files with 3 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue