FIX: Option refreshOnProfileChange not working.

This commit is contained in:
gomi1992 2024-08-11 15:24:29 +08:00 committed by GitHub
parent 54c1ab933b
commit a33997b284
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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