aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content_scripts/vimium_frontend.coffee4
1 files changed, 3 insertions, 1 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index 4f2e805d..96ce81a3 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -346,7 +346,9 @@ extend window,
scrollRight: (count) -> Scroller.scrollBy "x", Settings.get("scrollStepSize") * count
extend window,
- reload: -> window.location.reload()
+ reload: (count, options) ->
+ hard = options?.hard
+ window.location.reload(hard)
goBack: (count) -> history.go(-count)
goForward: (count) -> history.go(count)