aboutsummaryrefslogtreecommitdiffstats
path: root/background_page.html
diff options
context:
space:
mode:
authorilya2010-09-10 22:20:21 -0700
committerilya2010-09-10 22:31:46 -0700
commit31ddc715c9cae4502e2e0b18aeea11ce9198bc47 (patch)
tree40f266be0c305d0a3e4dc057bfd227b002b845c3 /background_page.html
parent827d7032b6ef7fc1e4f638f8c69b060d895e2c52 (diff)
downloadvimium-31ddc715c9cae4502e2e0b18aeea11ce9198bc47.tar.bz2
Make 'gi' compatible with repetition, i.e. 5gi will focus the fifth input box on the page.
Diffstat (limited to 'background_page.html')
-rw-r--r--background_page.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/background_page.html b/background_page.html
index 349212ef..94595b2b 100644
--- a/background_page.html
+++ b/background_page.html
@@ -507,8 +507,11 @@
if (!registryEntry.isBackgroundCommand) {
var port = chrome.tabs.connect(tabId, { name: "executePageCommand" });
- port.postMessage({ command: registryEntry.command, count: count,
- completionKeys: generateCompletionKeys("") });
+ port.postMessage({ command: registryEntry.command,
+ count: count,
+ passCountToFunction: registryEntry.passCountToFunction,
+ completionKeys: generateCompletionKeys("")
+ });
refreshedCompletionKeys = true;
} else {