Skip to content

Commit fff5039

Browse files
committed
fix: broken finder with Firefox 24.*(>24.0.0)
1 parent 2fbaa66 commit fff5039

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/content/finder.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,15 @@ const Finder = Module("finder", {
106106
* @param {string} str The string to find.
107107
* @see Bug537013 https://bugzilla.mozilla.org/show_bug.cgi?id=537013
108108
*/
109-
find: Services.vc.compare(Services.appinfo.version, "24.0") > 0 ?
109+
find: Services.vc.compare(Services.appinfo.version, "25.0") >= 0 ?
110110
function (str) {
111111
let fastFind = config.browser.getFindBar();
112112
this._processUserPattern(str);
113113
fastFind._typeAheadCaseSensitive = this._caseSensitive;
114114
fastFind._typeAheadLinksOnly = this._linksOnly;
115115
let result = fastFind._find(str);
116116
} :
117-
// FIXME: remove when minVersion > 24
117+
// FIXME: remove when minVersion >= 25
118118
function (str) {
119119
let fastFind = config.browser.fastFind;
120120

0 commit comments

Comments
 (0)