From 447074957ede72e3d5ad405f523563fd7af04647 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sun, 22 Dec 2024 20:27:28 -0500 Subject: fix IDs for Q&A videos --- templates/page.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/page.tmpl') 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() { -- cgit v1.2.3