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:
Earlopain 2021-12-19 20:27:57 +01:00
parent f837aaba5f
commit 62aabe779b
No known key found for this signature in database
GPG Key ID: 6CFB948E15246897

View File

@ -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 () {