aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--background_page.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/background_page.html b/background_page.html
index c76d9c5d..ef24a241 100644
--- a/background_page.html
+++ b/background_page.html
@@ -321,6 +321,9 @@
chrome.tabs.onRemoved.addListener(function(tabId) {
var openTabInfo = openTabs[tabId];
+ // If we restore the new tab page, it'll ignore Vimium keystrokes when it reappears.
+ if (openTabInfo.url == "chrome://newtab/") { return; }
+
if (tabQueue[openTabInfo.windowId])
tabQueue[openTabInfo.windowId].push(openTabInfo);
else