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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user