summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGrant Shangreaux <grant@unabridgedsoftware.com>2020-12-29 12:26:51 -0600
committerGrant Shangreaux <grant@unabridgedsoftware.com>2020-12-29 12:26:51 -0600
commit184bf700f10dc43068c4d8d8fddd9f0b9d10ffcf (patch)
treedd67305a37cee0aaac6c57c59eedaab930daaaba /templates
parent88a2c4b653ba7f73ba18375ec4596efbd62c6ff4 (diff)
downloademacsconf-wiki-184bf700f10dc43068c4d8d8fddd9f0b9d10ffcf.tar.xz
emacsconf-wiki-184bf700f10dc43068c4d8d8fddd9f0b9d10ffcf.zip
Fix: callback function
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>