Fixes #2496: Blacklist entry counts only display zero when disabled
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user