From bab4e8c25edeeebbf63308f9ce1ab3e811250f3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20R=C3=B8er?= Date: Tue, 10 May 2022 10:18:29 +0200 Subject: [PATCH] Fix storage sync checkbox initial state Fixes #201 Fixes #303 --- js/redirectorpage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/redirectorpage.js b/js/redirectorpage.js index 38e1331..cc42f74 100644 --- a/js/redirectorpage.js +++ b/js/redirectorpage.js @@ -304,7 +304,7 @@ function pageLoad() { chrome.storage.local.get({isSyncEnabled:false}, function(obj){ options.isSyncEnabled = obj.isSyncEnabled; - el('#storage-sync-option').checked = options.isSyncEnabled; + el('#storage-sync-option input').checked = options.isSyncEnabled; }); if(navigator.userAgent.toLowerCase().indexOf("chrome") > -1){