mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 15:08:12 -05:00
Merge pull request #19 from gomi1992/master
FIX: Option refreshOnProfileChange not working.
This commit is contained in:
commit
ba5c9adb6d
@ -311,7 +311,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
|
||||
|
Loading…
Reference in New Issue
Block a user