From 18b323f96796a02b4ef36b7041a8cac18b0c1fbd Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sat, 26 Mar 2016 11:27:55 +0000 Subject: Pass count to find commands. With this change, now *every* front-end command either accepts a count argument, or or it doesn't accept a count at all. --- background_scripts/commands.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'background_scripts') 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 }] -- cgit v1.2.3