mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
Fix typo in default.css
This commit is contained in:
parent
fb535ad6bb
commit
08e8d0f56f
2 changed files with 3 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue