summaryrefslogtreecommitdiffstats
path: root/templates/page.tmpl
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2024-12-22 20:27:28 -0500
committerSacha Chua <sacha@sachachua.com>2024-12-22 20:27:28 -0500
commit447074957ede72e3d5ad405f523563fd7af04647 (patch)
tree65028afdab0f7dc19ac4c812751fbcf46fb0f60a /templates/page.tmpl
parentc709100160c3e9dd157f153b5918f4491b468d67 (diff)
downloademacsconf-wiki-447074957ede72e3d5ad405f523563fd7af04647.tar.xz
emacsconf-wiki-447074957ede72e3d5ad405f523563fd7af04647.zip
fix IDs for Q&A videos
Diffstat (limited to '')
-rw-r--r--templates/page.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index f12dfd12..906e246a 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -88,7 +88,9 @@
videoElem.currentTime = parseSeconds(start);
videoElem.scrollIntoView();
}
- event.preventDefault();
+ if (event.preventDefault) {
+ event.preventDefault();
+ }
}
window.onload = function initScript() {