From 586c7d20778e1e30ea802f489a71c2d2dd0b18f6 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Tue, 17 Aug 2021 15:01:04 +0300 Subject: pikvm/pikvm#281: adjustable relative mouse sensitivity --- web/share/js/tools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/share/js/tools.js') 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), -- cgit v1.2.3