From afc3abb81c8b3480a357576110670ac64c777dfa Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Sat, 27 Jul 2019 22:04:21 +0000 Subject: [PATCH] Fix onload JS error --- assets/scripts.js | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/scripts.js b/assets/scripts.js index d9a8193..72d9a8f 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -305,7 +305,7 @@ function togglePlayPause() { else v.pause(); } -function onload() { +window.onload = function() { var video_selector = document.getElementById("video"); var video_source_selector = document.getElementById("video-source"); var file_selector = document.getElementById("file-selector"); diff --git a/index.html b/index.html index 7b83fcd..d676070 100644 --- a/index.html +++ b/index.html @@ -24,7 +24,7 @@ - +