summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2019-01-23 19:25:09 -0600
committerOmar Roth <omarroth@hotmail.com>2019-01-23 19:25:09 -0600
commit08e8d0f56fc50f73a269cefe54bad637ee89929f (patch)
tree900aac81ff4399b4b3df58886f688e49485ee487 /assets
parentfb535ad6bba09359c176b0d0d7c9570cc873e41a (diff)
downloadinvidious-08e8d0f56fc50f73a269cefe54bad637ee89929f.tar.gz
invidious-08e8d0f56fc50f73a269cefe54bad637ee89929f.tar.bz2
invidious-08e8d0f56fc50f73a269cefe54bad637ee89929f.zip
Fix typo in default.css
Diffstat (limited to 'assets')
-rw-r--r--assets/css/default.css1
-rw-r--r--assets/js/watch.js3
2 files changed, 3 insertions, 1 deletions
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;
}