forked from e621ng/e621ng
Revert "[Blacklist] Fix wrong count when deferred posts"
This reverts commit 060b92dfc7
.
No one has complained that this was broken and the new behaviour seems go
against what users expect. It would be better to instead display them
seperatly or something along those lines.
This commit is contained in:
parent
f837aaba5f
commit
62aabe779b
@ -35,9 +35,6 @@ Thumbnails.initialize = function () {
|
||||
});
|
||||
const newTag = $('<div>');
|
||||
const blacklisted = DAB ? false : blacklist_hit_count > 0;
|
||||
if (blacklist_hit_count > 0) {
|
||||
Blacklist.post_count++;
|
||||
}
|
||||
for (const key in postData) {
|
||||
newTag.attr("data-" + key.replace(/_/g, '-'), postData[key]);
|
||||
}
|
||||
@ -59,7 +56,6 @@ Thumbnails.initialize = function () {
|
||||
newTag.append(link);
|
||||
p.replaceWith(newTag);
|
||||
});
|
||||
Blacklist.sidebarUpdate();
|
||||
};
|
||||
|
||||
$(document).ready(function () {
|
||||
|
Loading…
Reference in New Issue
Block a user