aboutsummaryrefslogtreecommitdiffstats
path: root/commands.js
diff options
context:
space:
mode:
authorMax Cantor2011-05-05 15:58:01 -0400
committerMax Cantor2011-05-05 15:58:58 -0400
commitc5ad2a1642d14c23483fc3ebb6b5d1059116e9ea (patch)
tree0a09b5d740555c77d2156fa93c1801442038ef82 /commands.js
parentb6261a10dd10f7b864b849e49c5cf1e5c02a2134 (diff)
downloadvimium-c5ad2a1642d14c23483fc3ebb6b5d1059116e9ea.tar.bz2
changed nextFrame so it works with a count given, and fixed a bug where refreshing a tab breaks frame support because the framesForTab entry is appended with every onUpdate instead of being replaced.
Diffstat (limited to 'commands.js')
-rw-r--r--commands.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.js b/commands.js
index be01a180..c360729b 100644
--- a/commands.js
+++ b/commands.js
@@ -200,7 +200,7 @@ var commandDescriptions = {
removeTab: ["Close current tab", { background: true }],
restoreTab: ["Restore closed tab", { background: true }],
- nextFrame: ["Cycle forward to the next frame on the page", { background: true }]
+ nextFrame: ["Cycle forward to the next frame on the page", { background: true, passCountToFunction: true }]
};
for (var command in commandDescriptions)