mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-05 00:35:46 +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;
|
||||
return sandbox;
|
||||
}
|
||||
const jsmodules = { dump: function dump_(arg) window.dump("dactyl: " + arg + "\n") };
|
||||
const jsmodules = {};
|
||||
const modules = {
|
||||
__proto__: jsmodules,
|
||||
get content() window.content,
|
||||
|
||||
@@ -114,8 +114,6 @@ const RangeFinder = Module("rangefinder", {
|
||||
if (options["hlsearch"])
|
||||
this.highlight();
|
||||
this.rangeFind.focus();
|
||||
|
||||
modes.reset();
|
||||
},
|
||||
|
||||
// Called when the search is canceled - for example if someone presses
|
||||
|
||||
Reference in New Issue
Block a user