mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 07:07:13 +02:00
Update events.js
This commit is contained in:
@@ -131,12 +131,10 @@ 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();
|
||||
});
|
||||
translator.translate(html, function(translated) {
|
||||
html = $(translated);
|
||||
editorEl.replaceWith(html);
|
||||
html.find('.timeago').timeago();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user