From 9685cb7fe0ae745ca3fb821016cda7fa8feaedb2 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Thu, 13 Mar 2014 15:23:02 -0400 Subject: [PATCH] removed broken post update --- public/src/forum/account.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/public/src/forum/account.js b/public/src/forum/account.js index dfe3c9ed11..6738f1838a 100644 --- a/public/src/forum/account.js +++ b/public/src/forum/account.js @@ -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(); - }); - }); - }); };