summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/invidious/views/watch.ecr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr
index 8c1c66b6..c5f4e2ba 100644
--- a/src/invidious/views/watch.ecr
+++ b/src/invidious/views/watch.ecr
@@ -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 %>