diff options
Diffstat (limited to 'assets/js')
| -rw-r--r-- | assets/js/watch.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/assets/js/watch.js b/assets/js/watch.js index d8167114..3988234a 100644 --- a/assets/js/watch.js +++ b/assets/js/watch.js @@ -79,6 +79,9 @@ function download_video(title) { xhr.onload = function(event) { if (event.currentTarget.status != 200) { console.log("Downloading " + title + " failed.") + document.getElementById("progress-container").style.display = "none"; + progress.style.width = "0%"; + return; } |
