aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/lib/util.js')
-rw-r--r--data/lib/util.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/lib/util.js b/data/lib/util.js
index 0ecc318..1b5c37d 100644
--- a/data/lib/util.js
+++ b/data/lib/util.js
@@ -115,7 +115,8 @@ function createDeadLink (id, text, parent, callback, params, before, covered, ac
} else {
newAElem.setAttribute("href", "");
newAElem.addEventListener("click", function(evt) {
- callback.apply(null, params);
+ // callback.apply(null, params);
+ callback(params);
evt.stopPropagation();
evt.preventDefault();
}, false);