Skip to content

Commit 5d13cd0

Browse files
committed
remove unnecessary FindBar Tweak compatibility bit
1 parent 29be781 commit 5d13cd0

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

common/content/finder.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -290,18 +290,6 @@ var Finder = Module("finder", {
290290
function () { finder.clear(); },
291291
{ argCount: "0" });
292292
},
293-
events: function() {
294-
if (config.name == 'Vimperator') {
295-
// Same thing as the note above for not showing the findbar on failed results
296-
// through the command line, but for compatibility with FindBar Tweak.
297-
events.addSessionListener(window, "WillOpenFindBar", function (event) {
298-
if (commandline._keepOpenForInput) {
299-
event.preventDefault();
300-
event.stopPropagation();
301-
}
302-
}, true);
303-
}
304-
},
305293
mappings: function () {
306294
var myModes = config.browserModes;
307295
myModes = myModes.concat([modes.CARET]);

0 commit comments

Comments
 (0)