mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-13 01:15:47 +01:00
parseint tid
This commit is contained in:
@@ -125,7 +125,7 @@ define('composer', dependencies, function(taskbar, controls, uploads, formatting
|
||||
var postContainer = $('#cmp-uuid-' + uuid);
|
||||
var bodyEl = postContainer.find('textarea');
|
||||
var prevText = bodyEl.val();
|
||||
if(tid !== composer.posts[uuid].tid) {
|
||||
if (parseInt(tid, 10) !== parseInt(composer.posts[uuid].tid, 10)) {
|
||||
var link = '[' + title + '](/topic/' + topicSlug + '/' + (parseInt(postIndex, 10) + 1) + ')';
|
||||
translator.translate('[[modules:composer.user_said_in, ' + username + ', ' + link + ']]', onTranslated);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user