diff options
| -rw-r--r-- | background_scripts/commands.coffee | 4 | ||||
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 4 | 
2 files changed, 4 insertions, 4 deletions
| diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index b58a3b0c..4785ea47 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -337,8 +337,8 @@ commandDescriptions =    "LinkHints.activateModeToDownloadLink": ["Download link url", { passCountToFunction: true }]    enterFindMode: ["Enter find mode", { noRepeat: true }] -  performFind: ["Cycle forward to the next find match"] -  performBackwardsFind: ["Cycle backward to the previous find match"] +  performFind: ["Cycle forward to the next find match", { passCountToFunction: true }] +  performBackwardsFind: ["Cycle backward to the previous find match", { passCountToFunction: true }]    goPrevious: ["Follow the link labeled previous or <", { noRepeat: true }]    goNext: ["Follow the link labeled next or >", { noRepeat: true }] diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 66eebfdd..0a683083 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -503,8 +503,8 @@ findAndFocus = (backwards) ->    else      HUD.showForDuration("No matches for '#{FindMode.query.rawQuery}'", 1000) -performFind = -> findAndFocus false -performBackwardsFind = -> findAndFocus true +performFind = (count) -> findAndFocus false for [0...count] by 1 +performBackwardsFind = (count) -> findAndFocus true for [0...count] by 1  getLinkFromSelection = ->    node = window.getSelection().anchorNode | 
