1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 04:07:58 +01:00

Merge changes from key-processing branch.

This commit is contained in:
Kris Maglione
2011-01-23 20:34:06 -05:00
parent 353f233167
commit 5dc0dfd953
4 changed files with 20 additions and 16 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;