1
0
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:
Kris Maglione
2010-10-08 15:37:30 -04:00
parent 9295b36aad
commit c05ad65895
2 changed files with 1 additions and 3 deletions

View File

@@ -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,

View File

@@ -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