From 5af08938d47504cfc45d125b2ae9898534a1e5a1 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Thu, 30 Jun 2022 14:44:10 +1000 Subject: Add ui-option touchDevice --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/App.vue') diff --git a/src/App.vue b/src/App.vue index ab16c00..0cf2df0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -788,7 +788,7 @@ export default defineComponent({ } for (let prop of Object.getOwnPropertyNames(uiOpts) as (keyof UiOptions)[]){ let item = localStorage.getItem('UI ' + prop); - //Not: Using JSON.stringify here to roughly deep-compare values + //Note: Using JSON.stringify here to roughly deep-compare values if (item == null && JSON.stringify(this.uiOpts[prop]) != JSON.stringify(uiOpts[prop])){ this.uiOpts[prop] = uiOpts[prop]; if (prop == 'useReducedTree'){ -- cgit v1.2.3