summaryrefslogtreecommitdiff
path: root/scripts/base.js
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 /scripts/base.js
parent64b1d635479e1ecdabafd800f20c973710d1674f (diff)
downloaddwb-ce3a99784fe662aa378b730816e049f1515aa7f9.zip
Fixing onclick event in base.js, closing #315
Diffstat (limited to 'scripts/base.js')
-rw-r--r--scripts/base.js2
1 files changed, 1 insertions, 1 deletions
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"))