summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2013-05-17 22:35:12 +0200
committerportix <portix@gmx.net>2013-05-17 22:35:12 +0200
commitce3a99784fe662aa378b730816e049f1515aa7f9 (patch)
treeb08bab49ce8fe2cbe0e5a8cac3bd0d890db328ac
parent64b1d635479e1ecdabafd800f20c973710d1674f (diff)
downloaddwb-ce3a99784fe662aa378b730816e049f1515aa7f9.zip
Fixing onclick event in base.js, closing #315
-rw-r--r--AUTHORS1
-rw-r--r--scripts/base.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 8c5e6349..f028ddfd 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -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"))