Fixes #2496: Blacklist entry counts only display zero when disabled

This commit is contained in:
Moebius-Strip
2015-08-16 23:24:36 -04:00
parent e165cb0ab2
commit d040f17c74

View File

@@ -63,14 +63,15 @@
link.text(entry.tags);
link.click(Danbooru.Blacklist.toggle_entry);
if (Danbooru.Cookie.get("bl:" + hash)) {
link.click();
}
count.html(entry.hits);
item.append(link);
item.append(" ");
item.append(count);
if (Danbooru.Cookie.get("bl:" + hash)) {
link.click();
}
$("#blacklist-list").append(item);
});