aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/mode_visual_edit.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts/mode_visual_edit.coffee')
-rw-r--r--content_scripts/mode_visual_edit.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/mode_visual_edit.coffee b/content_scripts/mode_visual_edit.coffee
index ae8897ca..cca305f8 100644
--- a/content_scripts/mode_visual_edit.coffee
+++ b/content_scripts/mode_visual_edit.coffee
@@ -274,7 +274,7 @@ class Movement extends CountPrefix
handleMovementKeyChar: (keyChar, count = 1) ->
switch typeof @movements[keyChar]
when "string" then @runMovement @movements[keyChar] for [0...count]
- when "function" then @movements[keyChar].call @, count
+ when "function" then @movements[keyChar].call this, count
@scrollIntoView()
constructor: (options) ->
@@ -307,7 +307,7 @@ class Movement extends CountPrefix
return @continueBubbling if command == "0" and 0 < @countPrefix.length
if @commands[command]
- @commands[command].call @, @getCountPrefix()
+ @commands[command].call this, @getCountPrefix()
@scrollIntoView()
return @suppressEvent