mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 17:05:51 +01:00
translate helpers
This commit is contained in:
@@ -297,9 +297,7 @@ define('composer', dependencies, function(taskbar, controls, uploads, formatting
|
||||
var titleEl = postContainer.find('.title');
|
||||
|
||||
if (parseInt(postData.tid, 10) > 0) {
|
||||
translator.translate('[[topic:composer.replying_to, ' + postData.title + ']]', function(newTitle) {
|
||||
titleEl.val(newTitle);
|
||||
});
|
||||
titleEl.translateVal('[[topic:composer.replying_to, ' + postData.title + ']]');
|
||||
titleEl.prop('disabled', true);
|
||||
} else if (parseInt(postData.pid, 10) > 0) {
|
||||
titleEl.val(postData.title);
|
||||
|
||||
Reference in New Issue
Block a user