move out update, should work even if post isnt in dom

v1.18.x
barisusakli
parent b3e83d2f9a
commit f318f2f815

@ -120,8 +120,8 @@ define('forum/topic/events', ['forum/topic/browsing', 'forum/topic/postTools', '
function onPostPurged(pid) {
$('#post-container li[data-pid="' + pid + '"]').fadeOut(500, function() {
$(this).remove();
postTools.updatePostCount();
});
postTools.updatePostCount();
}
function togglePostDeleteState(data) {

Loading…
Cancel
Save