diff --git a/assets/css/default.css b/assets/css/default.css index c9893190..4f0db4cf 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -272,7 +272,6 @@ img.thumbnail { width: 100%; border-radius: 2px; background: #aaa; - display: none; } #download-progress { 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; }