diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-04-16 08:20:25 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-04-16 08:20:25 -0500 |
| commit | ae7b5fac74767ec9a7be8ef3d7cb1a0c95494323 (patch) | |
| tree | e0fab8ef60dfbdb6a74f1566c092e76d6e391621 /src | |
| parent | 26168a9520c8bc2a03f631eb0e53c3ee086d8c98 (diff) | |
| download | invidious-ae7b5fac74767ec9a7be8ef3d7cb1a0c95494323.tar.gz invidious-ae7b5fac74767ec9a7be8ef3d7cb1a0c95494323.tar.bz2 invidious-ae7b5fac74767ec9a7be8ef3d7cb1a0c95494323.zip | |
Fix handling for comments
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/views/watch.ecr | 4 |
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 %> |
