diff options
Diffstat (limited to 'background_scripts/main.coffee')
| -rw-r--r-- | background_scripts/main.coffee | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 5c5d3180..b40907fb 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -393,10 +393,9 @@ chrome.tabs.onUpdated.addListener (tabId, changeInfo, tab) ->      allFrames: true      code: Settings.get("userDefinedLinkHintCss")      runAt: "document_start" -  chrome.tabs.insertCSS tabId, cssConf, -> -    if not chrome.runtime.lastError -      updateOpenTabs(tab) -      updateActiveState(tabId) +  chrome.tabs.insertCSS tabId, cssConf, -> chrome.runtime.lastError +  updateOpenTabs(tab) +  updateActiveState(tabId)  chrome.tabs.onAttached.addListener (tabId, attachedInfo) ->    # We should update all the tabs in the old window and the new window. | 
