diff options
| -rw-r--r-- | commands.js | 4 | ||||
| -rw-r--r-- | vimiumFrontend.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/commands.js b/commands.js index 894818a2..f36c57b3 100644 --- a/commands.js +++ b/commands.js @@ -186,8 +186,8 @@ var commandDescriptions = { goNext: ["Follow the link labeled next or >"], // Navigating your history - goBack: ["Go back in history"], - goForward: ["Go forward in history"], + goBack: ["Go back in history", { passCountToFunction: true }], + goForward: ["Go forward in history", { passCountToFunction: true }], // Navigating the URL hierarchy goUp: ["Go up the URL hierarchy", { passCountToFunction: true }], diff --git a/vimiumFrontend.js b/vimiumFrontend.js index 4bb8d07e..c5df6372 100644 --- a/vimiumFrontend.js +++ b/vimiumFrontend.js @@ -243,8 +243,8 @@ function focusInput(count) { } function reload() { window.location.reload(); } -function goBack() { history.back(); } -function goForward() { history.forward(); } +function goBack(count) { history.go(-count); } +function goForward(count) { history.go(count); } function goUp(count) { var url = window.location.href; |
