Skip to content

Commit

Permalink
Update javascript.js
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialvkr committed Feb 10, 2024
1 parent cb04cfc commit d686baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function generateDownloadButtons(data) {
const downloadUrl = data["dl" + i]["url"];
const bgColor = getBackgroundColor(getParameterByName("itag", downloadUrl));
const videoFrmt = data["dl" + i]["format"];
downloadV.innerHTML += `<a href='${downloadUrl}'><button class='dlbtn' style='background:${bgColor}'>${videoFrmt}</button></a>`;
downloadV.innerHTML += `<a href='${downloadUrl}'><button class='dlbtns' style='background:${bgColor}'>${videoFrmt}</button></a>`;
}
}

Expand Down

0 comments on commit d686baa

Please sign in to comment.