diff options
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() { |