diff options
| author | mrmr1993 | 2014-11-23 11:59:12 +0000 |
|---|---|---|
| committer | mrmr1993 | 2014-11-23 11:59:12 +0000 |
| commit | 28ea5f9d88831efddc42b69cdf886cb4024db08e (patch) | |
| tree | c00a802271d6913f41bd4b98a849f5464d6ddb9c | |
| parent | 544b9f603b2382a9afedffc544c63e19b9909549 (diff) | |
| download | vimium-28ea5f9d88831efddc42b69cdf886cb4024db08e.tar.bz2 | |
Small cosmetic changes
| -rw-r--r-- | background_scripts/main.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 9b9d4bc2..0c4e0281 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -388,7 +388,7 @@ chrome.tabs.onUpdated.addListener (tabId, changeInfo, tab) -> code: Settings.get("userDefinedLinkHintCss") runAt: "document_start" chrome.tabs.insertCSS tabId, cssConf, -> chrome.runtime.lastError - updateOpenTabs(tab) if "url" in changeInfo + updateOpenTabs(tab) if changeInfo.url? updateActiveState(tabId) chrome.tabs.onAttached.addListener (tabId, attachedInfo) -> @@ -608,7 +608,7 @@ unregisterFrame = (request, sender) -> return unless frames? if request.is_top # The whole tab is closing, so we can drop the frames list. - updateOpenTabs(sender.tab) + updateOpenTabs sender.tab else index = getFrameIndex frames, request.frameId frames.splice index, 1 |
