From a33997b28401d7ca949c399442e0084bd1dfc813 Mon Sep 17 00:00:00 2001 From: gomi1992 Date: Sun, 11 Aug 2024 15:24:29 +0800 Subject: [PATCH] FIX: Option refreshOnProfileChange not working. --- omega-target-chromium-extension/src/coffee/background.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omega-target-chromium-extension/src/coffee/background.coffee b/omega-target-chromium-extension/src/coffee/background.coffee index 192a6d7..8329780 100644 --- a/omega-target-chromium-extension/src/coffee/background.coffee +++ b/omega-target-chromium-extension/src/coffee/background.coffee @@ -301,7 +301,7 @@ encodeError = (obj) -> obj refreshActivePageIfEnabled = -> - return if localStorage['omega.local.refreshOnProfileChange'] == 'false' + return if zeroLocalStorage['omega.local.refreshOnProfileChange'] == 'false' chrome.tabs.query {active: true, lastFocusedWindow: true}, (tabs) -> url = tabs[0].pendingUrl or tabs[0].url return if not url