diff options
| author | Stephen Blott | 2015-05-29 10:30:25 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-05-29 10:31:12 +0100 |
| commit | 17e233a2bdbb725a14b9aa363ed659a5bd9feeb2 (patch) | |
| tree | 708d490d2b985dbf65cb24d81d7a4fbcb204ff06 /content_scripts | |
| parent | 4fc96415b0e01d7b0a68f74578ab9c69d5a0dd1a (diff) | |
| download | vimium-17e233a2bdbb725a14b9aa363ed659a5bd9feeb2.tar.bz2 | |
Pass command's registry entry to content script.
Diffstat (limited to 'content_scripts')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 41fb772b..6b27924d 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -314,7 +314,7 @@ executePageCommand = (request) -> # All other commands are handled in their frame (but only if Vimium is enabled). return unless frameId == request.frameId and isEnabledForUrl - if (request.passCountToFunction) + if request.registryEntry.passCountToFunction Utils.invokeCommandString(request.command, [request.count]) else Utils.invokeCommandString(request.command) for i in [0...request.count] |
