mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-13 16:25:45 +01:00
Fix rangefinder search history issue.
This commit is contained in:
@@ -132,6 +132,10 @@ var RangeFinder = Module("rangefinder", {
|
||||
}
|
||||
},
|
||||
|
||||
onHistory: function () {
|
||||
this.rangeFind.found = false;
|
||||
},
|
||||
|
||||
onSubmit: function (command) {
|
||||
if (!this.options["incfind"] || !this.rangeFind || !this.rangeFind.found) {
|
||||
this.clear();
|
||||
@@ -200,6 +204,7 @@ var RangeFinder = Module("rangefinder", {
|
||||
|
||||
get onCancel() modules.rangefinder.closure.onCancel,
|
||||
get onChange() modules.rangefinder.closure.onChange,
|
||||
get onHistory() modules.rangefinder.closure.onHistory,
|
||||
get onSubmit() modules.rangefinder.closure.onSubmit
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user