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