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

Begin replacing the key processing rat's nest.

--HG--
branch : key-processing
This commit is contained in:
Kris Maglione
2011-01-23 17:37:59 -05:00
parent 5fdc1a5b60
commit 64b12db990
5 changed files with 260 additions and 241 deletions

View File

@@ -1115,9 +1115,9 @@ var CommandLine = Module("commandline", {
}
// TODO: Wouldn't multiple handlers be cleaner? --djk
if (event.type == "click" && (event.target instanceof HTMLAnchorElement ||
event.originalTarget.hasAttributeNS(NS, "command"))) {
if (event.type == "click" && event.target instanceof HTMLAnchorElement) {
util.dump(event.getPreventDefault(), event.target);
if (event.getPreventDefault())
return;