Node.js based forum software built for the modern web
fixed js error in recent.js, remove content assignment
Baris Usakli7d7ead3f478c
diff --git a/public/src/forum/unread.js b/public/src/forum/unread.jsindex 6dd8ae270c..a21a251f6c 100644--- a/public/src/forum/unread.js+++ b/public/src/forum/unread.js@@ -3,7 +3,7 @@ define(function() {loadingMoreTopics = false;Unread.init = function() {- app.enter_room('recent_posts');+ app.enterRoom('recent_posts');ajaxify.register_events(['event:new_topic',diff --git a/src/posts.js b/src/posts.jsindex 65258abcae..fa4433b6bd 100644--- a/src/posts.js+++ b/src/posts.js@@ -43,14 +43,12 @@ var RDB = require('./redis.js'),return callback(err, null);}- content = newContent;-var timestamp = Date.now(),postData = {'pid': pid,'uid': uid,'tid': tid,- 'content': content,+ 'content': newContent,'timestamp': timestamp,'reputation': 0,'editor': '',