fetch all nested comments when set to 'inf'

pull/89/head
Martin Zimmermann 10 years ago
parent 324326c2ba
commit ed810cdf39

@ -101,7 +101,7 @@ define(["app/text/html", "app/dom", "app/utils", "app/config", "app/api", "app/m
function() {
el.remove();
api.fetch($("#isso-thread").getAttribute("data-isso-id"),
config["reveal-on-click"], "0",
config["reveal-on-click"], config["max-comments-nested"],
commentWrapper.id,
lastcreated).then(
function(rv) {

@ -30,7 +30,7 @@ require(["app/lib/ready", "app/config", "app/api", "app/isso", "app/count", "app
config["max-comments-top"],
config["max-comments-nested"]).then(
function(rv) {
if (rv.total_replies == 0) {
if (rv.total_replies === 0) {
$("#isso-thread > h4").textContent = Mark.up("{{ i18n-no-comments }}");
return;
}

Loading…
Cancel
Save