diff options
Diffstat (limited to 'web/share/js/tools.js')
-rw-r--r-- | web/share/js/tools.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/tools.js b/web/share/js/tools.js index 4bc5c90b..61ac3e1d 100644 --- a/web/share/js/tools.js +++ b/web/share/js/tools.js @@ -274,7 +274,7 @@ export var tools = new function() { return { "get": function(key, default_value) { let value = window.localStorage.getItem(key); - return (value !== null ? value : default_value); + return (value !== null ? value : `${default_value}`); }, "set": (key, value) => window.localStorage.setItem(key, value), |