|
|
|
@ -131,14 +131,12 @@ define('forum/topic/events', [
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
templates.parse('partials/topic/post-editor', editData, function(html) {
|
|
|
|
|
require(['translator'], function(translator) {
|
|
|
|
|
translator.translate(html, function(translated) {
|
|
|
|
|
html = $(translated);
|
|
|
|
|
editorEl.replaceWith(html);
|
|
|
|
|
html.find('.timeago').timeago();
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
if (data.topic.tags && tagsUpdated(data.topic.tags)) {
|
|
|
|
|
templates.parse('partials/post_bar', 'tags', {tags: data.topic.tags}, function(html) {
|
|
|
|
|