diff options
| author | Stephen Blott | 2018-02-14 09:37:58 +0000 |
|---|---|---|
| committer | GitHub | 2018-02-14 09:37:58 +0000 |
| commit | dc68113c223babd75d808d32d318f69cc85b3b41 (patch) | |
| tree | bf0dea2f76fcb4617439ca72b6f7e347fff09c2a /content_scripts | |
| parent | b9a84b2edf83c74de89c128b1a31a08982b41e32 (diff) | |
| parent | 2128ef3a4b6bb989323200578b230dfb1e178c2e (diff) | |
| download | vimium-dc68113c223babd75d808d32d318f69cc85b3b41.tar.bz2 | |
Merge pull request #2951 from smblott-github/add-count-for-reload
Make the reload command accept a count.
Diffstat (limited to 'content_scripts')
| -rw-r--r-- | content_scripts/mode_normal.coffee | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/content_scripts/mode_normal.coffee b/content_scripts/mode_normal.coffee index 1fe0618e..0cfcfc66 100644 --- a/content_scripts/mode_normal.coffee +++ b/content_scripts/mode_normal.coffee @@ -59,10 +59,7 @@ NormalModeCommands = scrollLeft: (count) -> Scroller.scrollBy "x", -1 * Settings.get("scrollStepSize") * count scrollRight: (count) -> Scroller.scrollBy "x", Settings.get("scrollStepSize") * count - # Page state. - reload: (count, options) -> - hard = options.registryEntry.options.hard ? false - window.location.reload(hard) + # Tab navigation: back, forward. goBack: (count) -> history.go(-count) goForward: (count) -> history.go(count) |
