aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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