mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-28 01:05:18 -04:00
Add missing semicolons, remove unused code
This commit is contained in:
parent
59d2738ecd
commit
136f322524
6 changed files with 6 additions and 10 deletions
|
@ -16,7 +16,7 @@ function updateReplyLinks() {
|
|||
replyLink.removeAttribute("target");
|
||||
});
|
||||
}
|
||||
updateReplyLinks()
|
||||
updateReplyLinks();
|
||||
|
||||
function toggle_comments(event) {
|
||||
var target = event.target;
|
||||
|
@ -112,7 +112,7 @@ function get_youtube_comments() {
|
|||
})
|
||||
});
|
||||
comments.innerHTML = commentInnerHtml;
|
||||
updateReplyLinks()
|
||||
updateReplyLinks();
|
||||
comments.children[0].children[0].children[0].onclick = toggle_comments;
|
||||
if (video_data.support_reddit) {
|
||||
comments.children[0].children[1].children[0].onclick = swap_comments;
|
||||
|
@ -152,7 +152,7 @@ function get_youtube_replies(target, load_more, load_replies) {
|
|||
body = body.parentNode.parentNode;
|
||||
body.removeChild(body.lastElementChild);
|
||||
body.insertAdjacentHTML('beforeend', response.contentHtml);
|
||||
updateReplyLinks()
|
||||
updateReplyLinks();
|
||||
} else {
|
||||
body.removeChild(body.lastElementChild);
|
||||
|
||||
|
@ -171,7 +171,7 @@ function get_youtube_replies(target, load_more, load_replies) {
|
|||
|
||||
body.appendChild(p);
|
||||
body.appendChild(div);
|
||||
updateReplyLinks()
|
||||
updateReplyLinks();
|
||||
}
|
||||
},
|
||||
onNon200: function (xhr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue