mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix handling for comments
This commit is contained in:
parent
26168a9520
commit
ae7b5fac74
1 changed files with 2 additions and 2 deletions
|
@ -367,7 +367,7 @@ function get_reddit_comments(timeouts = 0) {
|
|||
});
|
||||
} else {
|
||||
<% if preferences && preferences.comments[1] == "youtube" %>
|
||||
get_youtube_comments();
|
||||
get_youtube_comments(timeouts + 1);
|
||||
<% else %>
|
||||
comments.innerHTML = fallback;
|
||||
<% end %>
|
||||
|
@ -428,7 +428,7 @@ function get_youtube_comments(timeouts = 0) {
|
|||
}
|
||||
} else {
|
||||
<% if preferences && preferences.comments[1] == "youtube" %>
|
||||
get_youtube_comments();
|
||||
get_youtube_comments(timeouts + 1);
|
||||
<% else %>
|
||||
comments.innerHTML = "";
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue