From f438b3528f0b0718f4122fe5bf0ef50e0e405bae Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Sat, 25 Oct 2014 22:04:32 +0100 Subject: Check chrome.runtime.lastError to fix error in chrome.runtime.lastError --- background_scripts/main.coffee | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3