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('
').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('
').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);