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