diff options
author | BobIsMyManager <bimmgitsignature.nly8m@simplelogin.co> | 2022-08-02 21:55:17 +0100 |
---|---|---|
committer | BobIsMyManager <bimmgitsignature.nly8m@simplelogin.co> | 2022-08-02 22:03:33 +0100 |
commit | 341afc4055f292535fb9097ffcaff25b38c3c953 (patch) | |
tree | ec20ede03d30c11bca1f02343a77a230f2bf3438 /src/pages/options/widgets | |
parent | update instances (diff) | |
download | libredirect-341afc4055f292535fb9097ffcaff25b38c3c953.zip |
Finish offline detection
Diffstat (limited to 'src/pages/options/widgets')
-rw-r--r-- | src/pages/options/widgets/general.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pages/options/widgets/general.js b/src/pages/options/widgets/general.js index c64eb25d..4ef30cec 100644 --- a/src/pages/options/widgets/general.js +++ b/src/pages/options/widgets/general.js @@ -81,6 +81,7 @@ resetSettings.addEventListener("click", async () => { .then(response => response.text()) .then(async data => { browser.storage.local.set({ cloudflareBlackList: JSON.parse(data).cloudflare }, () => { + browser.storage.local.set({ offlineBlackList: JSON.parse(data).offline }, () => { browser.storage.local.set({ authenticateBlackList: JSON.parse(data).authenticate }, async () => { await generalHelper.initDefaults() await youtubeHelper.initDefaults() @@ -103,6 +104,7 @@ resetSettings.addEventListener("click", async () => { await lbryHelper.initDefaults() location.reload() }) + }) }) }) }) |