fixed posts not appearing immediately

This commit is contained in:
Baris Soner Usakli
2013-11-23 17:56:03 -05:00
parent 01102d5982
commit 81e5cf0cf3
3 changed files with 24 additions and 25 deletions

View File

@@ -462,7 +462,7 @@ define(function() {
adjust_rep(-1, data.pid, data.uid);
});
socket.on('event:new_post', app.createNewPosts);
socket.on('event:new_post', createNewPosts);
socket.on('event:topic_deleted', function(data) {
if (data.tid === tid && data.status === 'ok') {