diff options
| author | Sacha Chua <sacha@sachachua.com> | 2024-12-22 20:27:28 -0500 |
|---|---|---|
| committer | Sacha Chua <sacha@sachachua.com> | 2024-12-22 20:27:28 -0500 |
| commit | 447074957ede72e3d5ad405f523563fd7af04647 (patch) | |
| tree | 65028afdab0f7dc19ac4c812751fbcf46fb0f60a /templates | |
| parent | c709100160c3e9dd157f153b5918f4491b468d67 (diff) | |
| download | emacsconf-wiki-447074957ede72e3d5ad405f523563fd7af04647.tar.xz emacsconf-wiki-447074957ede72e3d5ad405f523563fd7af04647.zip | |
fix IDs for Q&A videos
Diffstat (limited to '')
| -rw-r--r-- | templates/page.tmpl | 4 |
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() { |
