aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authormrmr19932014-10-25 22:04:32 +0100
committermrmr19932014-10-25 22:04:32 +0100
commitf438b3528f0b0718f4122fe5bf0ef50e0e405bae (patch)
treefde600645cb237c61b8f8cfd4fac0298eaedeae5 /background_scripts
parenta485fe7500ce0d8cad0b6f5a3d20b279d738521b (diff)
downloadvimium-f438b3528f0b0718f4122fe5bf0ef50e0e405bae.tar.bz2
Check chrome.runtime.lastError to fix error in chrome.runtime.lastError
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/main.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index 352cfa48..16d7bc19 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -391,6 +391,7 @@ chrome.tabs.onUpdated.addListener (tabId, changeInfo, tab) ->
allFrames: true
code: Settings.get("userDefinedLinkHintCss")
runAt: "document_start"
+ , -> undefined if chrome.runtime.lastError
updateOpenTabs(tab)
updateActiveState(tabId)