aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorint32010-04-03 18:02:09 +0800
committerilya2010-04-10 19:28:48 -0700
commitc05ffa70230be85f81520329195cc8080a6a22a5 (patch)
treef58f135d6e9bfc9e9037cd9fd136950816340fa5
parentfb2dc53ef01608b9ac8cc086e6a46072a204817c (diff)
downloadvimium-c05ffa70230be85f81520329195cc8080a6a22a5.tar.bz2
Another fix for tab positioning
-rw-r--r--background_page.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/background_page.html b/background_page.html
index d461d3d8..eb8ac60d 100644
--- a/background_page.html
+++ b/background_page.html
@@ -360,6 +360,8 @@
chrome.tabs.onRemoved.addListener(function(tabId) {
var openTabInfo = openTabs[tabId];
+ updatePositionsAndWindowsForAllTabsInWindow(openTabInfo.windowId);
+
// If we restore chrome:// pages, they'll ignore Vimium keystrokes when they reappear.
// Pretend they never existed and adjust tab indices accordingly.
// Could possibly expand this into a blacklist in the future