Skip to content

Commit 0f2ff2f

Browse files
committed
cleanup from previous commit
1 parent b8edad5 commit 0f2ff2f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

common/content/finder.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ var Finder = Module("finder", {
161161
*
162162
* @param {boolean} reverse Whether to search forwards or backwards.
163163
* @default false
164-
* @see Bug537013 https://bugzilla.mozilla.org/show_bug.cgi?id=537013
165164
*/
166165
findAgain: function (reverse) {
167166
// Nothing to find?
@@ -230,15 +229,13 @@ var Finder = Module("finder", {
230229
this.findAgain(true);
231230

232231
if (options["hlsearch"])
233-
this.highlight(findbar._findField.value);
232+
this.highlight();
234233
},
235234

236235
/**
237236
* Highlights all occurances of <b>str</b> in the buffer.
238-
*
239-
* @param {string} str The string to highlight.
240237
*/
241-
highlight: function (str) {
238+
highlight: function () {
242239
let findbar = this.findbar;
243240

244241
let btn = findbar.getElement("highlight");

0 commit comments

Comments
 (0)