diff options
| author | Stephen Blott | 2015-03-15 15:04:23 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2015-03-15 15:15:06 +0000 | 
| commit | fb24c770645ce1b8178729d4be612d58497ffa5f (patch) | |
| tree | e561fb1d702e3e82342a046175003c053c009a1f /pages/options.coffee | |
| parent | ea05de3f114dcc81a91bf863538f20754641cadd (diff) | |
| download | vimium-fb24c770645ce1b8178729d4be612d58497ffa5f.tar.bz2 | |
Rework page icon handling.
Setting the page icon is now driven from the corrently-active frame.
- Eliminates a race condition.
- Icon matches actual frame state (not tab URL state).
- Exclusion-rule changes propagate to all frames.
Diffstat (limited to 'pages/options.coffee')
| -rw-r--r-- | pages/options.coffee | 2 | 
1 files changed, 0 insertions, 2 deletions
| diff --git a/pages/options.coffee b/pages/options.coffee index 61b055c2..f60f3bb4 100644 --- a/pages/options.coffee +++ b/pages/options.coffee @@ -295,8 +295,6 @@ initPopupPage = ->        Option.saveOptions()        $("saveOptions").innerHTML = "Saved"        $("saveOptions").disabled = true -      chrome.tabs.query { windowId: chrome.windows.WINDOW_ID_CURRENT, active: true }, (tabs) -> -        chrome.extension.getBackgroundPage().updateActiveState(tabs[0].id)      $("saveOptions").addEventListener "click", saveOptions | 
