replace unnecessary setting of raw "html" with "text"

This commit is contained in:
Martin Raifer
2021-11-18 17:27:38 +01:00
parent 12f546d6e6
commit 040257fd44
46 changed files with 139 additions and 137 deletions
+3 -3
View File
@@ -49,9 +49,9 @@ export function uiNoteHeader() {
.append('div')
.attr('class', 'note-header-label')
.html(function(d) {
if (_note.isNew()) { return t('note.new'); }
return t('note.note') + ' ' + d.id + ' ' +
(d.status === 'closed' ? t('note.closed') : '');
if (_note.isNew()) { return t.html('note.new'); }
return t.html('note.note') + ' ' + d.id + ' ' +
(d.status === 'closed' ? t.html('note.closed') : '');
});
}