mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-16 21:55:47 +01:00
Remove spurious modes.reset() in RangeFinder#onSubmit. Fixes focusing links on submit.
--HG-- branch : mode-refactoring extra : rebase_source : 494ba7809803499905f135c4410f5e87af4417d6
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
sandbox.__proto__ = proto || modules;
|
sandbox.__proto__ = proto || modules;
|
||||||
return sandbox;
|
return sandbox;
|
||||||
}
|
}
|
||||||
const jsmodules = { dump: function dump_(arg) window.dump("dactyl: " + arg + "\n") };
|
const jsmodules = {};
|
||||||
const modules = {
|
const modules = {
|
||||||
__proto__: jsmodules,
|
__proto__: jsmodules,
|
||||||
get content() window.content,
|
get content() window.content,
|
||||||
|
|||||||
@@ -114,8 +114,6 @@ const RangeFinder = Module("rangefinder", {
|
|||||||
if (options["hlsearch"])
|
if (options["hlsearch"])
|
||||||
this.highlight();
|
this.highlight();
|
||||||
this.rangeFind.focus();
|
this.rangeFind.focus();
|
||||||
|
|
||||||
modes.reset();
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// Called when the search is canceled - for example if someone presses
|
// Called when the search is canceled - for example if someone presses
|
||||||
|
|||||||
Reference in New Issue
Block a user