removed broken post update

This commit is contained in:
barisusakli
2014-03-13 15:23:02 -04:00
parent 161c7f1875
commit 9685cb7fe0

View File

@@ -73,15 +73,6 @@ define(['forum/accountheader'], function(header) {
socket.emit('user.isOnline', theirid, Account.handleUserOnline);
socket.on('event:new_post', function(data) {
templates.preload_template('account', function() {
templates['account'].parse({posts:[]});
var html = templates.prepare(templates['account'].blocks['posts']).parse(data);
$('.user-recent-posts').prepend(html);
$('.user-recent-posts span.timeago').timeago();
});
});
});
};