Skip to content

Node.js based forum software built for the modern web

clean up

psychobunnyb7782dbf7fce
diff --git a/public/templates/topic.tpl b/public/templates/topic.tpl
index adf3092cc8..279ab24d70 100644
--- a/public/templates/topic.tpl
+++ b/public/templates/topic.tpl
@@ -68,23 +68,7 @@ socket.on('event:new_post', function(data) {
jQuery('<div></div>').appendTo("#post-container").hide().append(html).fadeIn('slow');
});
-/*
-jQuery('document').ready(function() {
- setTimeout(function() {
- //console.log(JSON.stringify(templates['topic'].blocks));
- var html = templates.prepare(templates['topic'].blocks['posts']).parse({
- 'posts' : [
- {
- 'username' : 'derp'
- }
- ]
- });
-
- jQuery('<div></div>').appendTo("#post-container").hide().append(html).fadeIn('slow');
-
- }, 1500);
-});
-*/
+
function adjust_rep(value, pid, uid) {
var post_rep = document.getElementById('post_rep_' + pid),
user_rep = document.getElementById('user_rep_' + uid);