From 08e8d0f56fc50f73a269cefe54bad637ee89929f Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Wed, 23 Jan 2019 19:25:09 -0600 Subject: [PATCH] Fix typo in default.css --- assets/css/default.css | 1 - assets/js/watch.js | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) 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; }