Fix handling for comments

pull/366/head
Omar Roth 6 years ago
parent 26168a9520
commit ae7b5fac74

@ -367,7 +367,7 @@ function get_reddit_comments(timeouts = 0) {
}); });
} else { } else {
<% if preferences && preferences.comments[1] == "youtube" %> <% if preferences && preferences.comments[1] == "youtube" %>
get_youtube_comments(); get_youtube_comments(timeouts + 1);
<% else %> <% else %>
comments.innerHTML = fallback; comments.innerHTML = fallback;
<% end %> <% end %>
@ -428,7 +428,7 @@ function get_youtube_comments(timeouts = 0) {
} }
} else { } else {
<% if preferences && preferences.comments[1] == "youtube" %> <% if preferences && preferences.comments[1] == "youtube" %>
get_youtube_comments(); get_youtube_comments(timeouts + 1);
<% else %> <% else %>
comments.innerHTML = ""; comments.innerHTML = "";
<% end %> <% end %>

Loading…
Cancel
Save