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

Move :downloads button logic into binding classes.

--HG--
extra : transplant_source : %CF.%29Y%88%B5%0AU%18%E0%B9%EA%85%94%F1%99%16b9%F3
This commit is contained in:
Kris Maglione
2011-01-23 23:25:08 -05:00
parent 2956548352
commit 8e270cdb0c
4 changed files with 95 additions and 29 deletions

View File

@@ -1117,7 +1117,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;