aboutsummaryrefslogtreecommitdiffstats
path: root/background_page.html
diff options
context:
space:
mode:
authorJez Ng2012-02-26 23:47:57 -0500
committerJez Ng2012-02-26 23:47:57 -0500
commit18d5b9f6c44f6245f01a19471a475d6fb9775fe9 (patch)
treed90036ae4ae5fa303ad38cde6d461ed1cd4eb6fa /background_page.html
parent448b96a82b8877d07e922d6cbad84210a423bfe5 (diff)
downloadvimium-18d5b9f6c44f6245f01a19471a475d6fb9775fe9.tar.bz2
Revert "Exit implicit insert mode only upon tab switch."
This reverts commit 469acff29be41e60eb8e1c24f007d435711d2b50. Conflicts: vimiumFrontend.js
Diffstat (limited to 'background_page.html')
-rw-r--r--background_page.html6
1 files changed, 0 insertions, 6 deletions
diff --git a/background_page.html b/background_page.html
index 90c628dc..aca4206b 100644
--- a/background_page.html
+++ b/background_page.html
@@ -14,7 +14,6 @@
var singleKeyCommands = [];
var focusedFrame = null;
var framesForTab = {};
- var lastActiveTabIds = {};
// Keys are either literal characters, or "named" - for example <a-b> (alt+b), <left> (left arrow) or <f12>
// This regular expression captures two groups: the first is a named key, the second is the remainder of
@@ -273,10 +272,6 @@
chrome.tabs.onSelectionChanged.addListener(function(tabId, selectionInfo) {
if (selectionChangedHandlers.length > 0) { selectionChangedHandlers.pop().call(); }
-
- if (lastActiveTabIds[selectionInfo.windowId] !== undefined)
- chrome.tabs.sendRequest(lastActiveTabIds[selectionInfo.windowId], { name: "exitImplicitInsertMode" });
- lastActiveTabIds[selectionInfo.windowId] = tabId;
});
function repeatFunction(func, totalCount, currentCount, frameId) {
@@ -398,7 +393,6 @@
chrome.windows.onRemoved.addListener(function(windowId) {
delete tabQueue[windowId];
- delete lastActiveTabIds[windowId];
});
function restoreTab(callback) {