mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 15:08:12 -05:00
FIX: Option refreshOnProfileChange not working.
This commit is contained in:
parent
54c1ab933b
commit
a33997b284
@ -301,7 +301,7 @@ encodeError = (obj) ->
|
|||||||
obj
|
obj
|
||||||
|
|
||||||
refreshActivePageIfEnabled = ->
|
refreshActivePageIfEnabled = ->
|
||||||
return if localStorage['omega.local.refreshOnProfileChange'] == 'false'
|
return if zeroLocalStorage['omega.local.refreshOnProfileChange'] == 'false'
|
||||||
chrome.tabs.query {active: true, lastFocusedWindow: true}, (tabs) ->
|
chrome.tabs.query {active: true, lastFocusedWindow: true}, (tabs) ->
|
||||||
url = tabs[0].pendingUrl or tabs[0].url
|
url = tabs[0].pendingUrl or tabs[0].url
|
||||||
return if not url
|
return if not url
|
||||||
|
Loading…
Reference in New Issue
Block a user