v1.18.x
psychobunny 11 years ago
parent d1a94a91c2
commit 27f4fdd179

@ -318,7 +318,10 @@ var socket,
}
app.createNewPosts = function (data) {
data.posts[0].display_moderator_tools = 'none';
if (data.posts[0].uid !== app.uid) {
data.posts[0].display_moderator_tools = 'none';
}
var html = templates.prepare(templates['topic'].blocks['posts']).parse(data);
translator.translate(html, function(translatedHTML) {
var uniqueid = new Date().getTime(),

Loading…
Cancel
Save