summaryrefslogtreecommitdiffstats
path: root/templates/page.tmpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/page.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index cafc6835..ec95256d 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -62,7 +62,7 @@
seconds = parseSeconds(timestamps[i].innerText);
console.log("seconds: ", seconds);
- timestamps[i].onclick = seekToTime(seconds);
+ timestamps[i].onclick = function () { seekToTime(seconds) };
}
}
</script>