Use consistent style for string concatenation

This commit is contained in:
scossar 2018-01-28 18:45:11 -08:00
parent caa38aaaad
commit 42970e758e
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ const Topic = RestModel.extend({
if (Discourse.SiteSettings.support_mixed_text_direction) { if (Discourse.SiteSettings.support_mixed_text_direction) {
let titleDir = isRTL(title) ? 'rtl' : 'ltr'; let titleDir = isRTL(title) ? 'rtl' : 'ltr';
return '<span dir="' + titleDir + '">' + fancyTitle + '</span>'; return `<span dir="${titleDir}">${fancyTitle}</span>`;
} }
return fancyTitle; return fancyTitle;
}, },