1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 05:47:58 +01:00

Get rid of absurd Map#route flag. Consolodate some constants.

This commit is contained in:
Kris Maglione
2011-01-18 17:35:57 -05:00
parent 3e95b19cb0
commit c78bb0f332
9 changed files with 52 additions and 50 deletions

View File

@@ -1120,7 +1120,7 @@ var Hints = Module("hints", {
function () {
hints.clearTimeout();
if (hints.prevInput !== "number")
return true;
return Events.PASS;
if (hints._hintNumber > 0 && !hints._usedTabKey) {
hints._hintNumber = Math.floor(hints._hintNumber / hints.hintKeys.length);
@@ -1133,9 +1133,8 @@ var Hints = Module("hints", {
hints._hintNumber = 0;
dactyl.beep();
}
return false;
},
{ route: true });
return Events.KILL;
});
mappings.add(modes.HINTS, ["<Leader>"],
"Toggle hint filtering",