aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2017-10-24 16:02:23 +0100
committerGitHub2017-10-24 16:02:23 +0100
commit88e179790e137e980d51bf3eb9ef4d4a2e59ecab (patch)
tree1246c9010db53f0dd3733bd9de97e03e95522ddf
parent895a5e85fe40d2d1ba718b2ef51436d82e913ebe (diff)
parent27fca0baa34df6af1ed32cb16c6e69a356364520 (diff)
downloadvimium-88e179790e137e980d51bf3eb9ef4d4a2e59ecab.tar.bz2
Merge pull request #2738 from mrmr1993/hard-reload
Add hard option to reload command
-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)