diff options
author | portix <portix@gmx.net> | 2013-05-17 22:35:12 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2013-05-17 22:35:12 +0200 |
commit | ce3a99784fe662aa378b730816e049f1515aa7f9 (patch) | |
tree | b08bab49ce8fe2cbe0e5a8cac3bd0d890db328ac | |
parent | 64b1d635479e1ecdabafd800f20c973710d1674f (diff) | |
download | dwb-ce3a99784fe662aa378b730816e049f1515aa7f9.zip |
Fixing onclick event in base.js, closing #315
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | scripts/base.js | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -8,6 +8,7 @@ Florian Bruhin 2012 Bastien Dejean 2012 Sean DuBois 2012 Jonas Haag 2010 +Christopher Jeffrey 2013 Daniel Martà 2013 Robin Martinjak 2013 Elias Norberg <xyzzy@kudzu.se> 2013 diff --git a/scripts/base.js b/scripts/base.js index dae765cc..8d309480 100644 --- a/scripts/base.js +++ b/scripts/base.js @@ -243,7 +243,7 @@ Object.freeze((function () { { if (element.hasAttribute("onclick")) { - p_mouseEvent(element, ev, !globals.newTab); + p_mouseEvent(element, "click", !globals.newTab); clicked = true; } if (element.hasAttribute("onmousedown")) |