Fix typo in default.css

This commit is contained in:
Omar Roth 2019-01-23 19:25:09 -06:00
parent fb535ad6bb
commit 08e8d0f56f
2 changed files with 3 additions and 1 deletions

View file

@ -272,7 +272,6 @@ img.thumbnail {
width: 100%; width: 100%;
border-radius: 2px; border-radius: 2px;
background: #aaa; background: #aaa;
display: none;
} }
#download-progress { #download-progress {

View file

@ -79,6 +79,9 @@ function download_video(title) {
xhr.onload = function(event) { xhr.onload = function(event) {
if (event.currentTarget.status != 200) { if (event.currentTarget.status != 200) {
console.log("Downloading " + title + " failed.") console.log("Downloading " + title + " failed.")
document.getElementById("progress-container").style.display = "none";
progress.style.width = "0%";
return; return;
} }