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

Move :downloads button logic into binding classes.

--HG--
branch : key-processing
This commit is contained in:
Kris Maglione
2011-01-23 23:25:08 -05:00
parent df4fc65102
commit 3cd40141f9
5 changed files with 100 additions and 32 deletions

View File

@@ -1083,7 +1083,6 @@ var CommandLine = Module("commandline", {
// TODO: Wouldn't multiple handlers be cleaner? --djk
if (event.type == "click" && event.target instanceof HTMLAnchorElement) {
util.dump(event.getPreventDefault(), event.target);
if (event.getPreventDefault())
return;