diff options
| author | Stephen Blott | 2014-11-02 13:27:41 +0000 |
|---|---|---|
| committer | Stephen Blott | 2014-11-02 13:27:41 +0000 |
| commit | 01608ce7047e3ff0e53c44842697dded489a60f0 (patch) | |
| tree | cfe6fd39fe8e1a37baec39137d49244d7aeb9637 /background_scripts | |
| parent | 01d9e2021c2520630185f5346d4b4c92c5564ba8 (diff) | |
| parent | 7e51e97faa4bc407ec411dd47572b1e36ad2be1e (diff) | |
| download | vimium-01608ce7047e3ff0e53c44842697dded489a60f0.tar.bz2 | |
Merge branch 'master' into customNewTabPage
Diffstat (limited to 'background_scripts')
| -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. |
