diff options
author | Grant Shangreaux <grant@unabridgedsoftware.com> | 2020-12-29 12:26:51 -0600 |
---|---|---|
committer | Grant Shangreaux <grant@unabridgedsoftware.com> | 2020-12-29 12:26:51 -0600 |
commit | 184bf700f10dc43068c4d8d8fddd9f0b9d10ffcf (patch) | |
tree | dd67305a37cee0aaac6c57c59eedaab930daaaba | |
parent | 88a2c4b653ba7f73ba18375ec4596efbd62c6ff4 (diff) | |
download | emacsconf-wiki-184bf700f10dc43068c4d8d8fddd9f0b9d10ffcf.tar.xz emacsconf-wiki-184bf700f10dc43068c4d8d8fddd9f0b9d10ffcf.zip |
Fix: callback function
-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 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> |