mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
fixed posts not appearing immediately
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user