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