mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 11:31:23 +01:00
clean up
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user