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

This commit is contained in:
barisusakli
2014-10-14 23:57:27 -04:00
parent b3e83d2f9a
commit f318f2f815

View File

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