diff options
Diffstat (limited to '')
-rw-r--r-- | templates/page.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl index ec95256d..f380dc8d 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 = function () { seekToTime(seconds) }; + timestamps[i].onclick = () => { seekToTime(seconds) }; } } </script> |