summaryrefslogtreecommitdiffstats
path: root/templates/page.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/page.tmpl')
-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() {