From 42970e758e80b1dccf7aaeee637e36a4c7f2cf83 Mon Sep 17 00:00:00 2001 From: scossar Date: Sun, 28 Jan 2018 18:45:11 -0800 Subject: [PATCH] Use consistent style for string concatenation --- app/assets/javascripts/discourse/models/topic.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/models/topic.js.es6 b/app/assets/javascripts/discourse/models/topic.js.es6 index 4239398f053..b8e6f897259 100644 --- a/app/assets/javascripts/discourse/models/topic.js.es6 +++ b/app/assets/javascripts/discourse/models/topic.js.es6 @@ -63,7 +63,7 @@ const Topic = RestModel.extend({ if (Discourse.SiteSettings.support_mixed_text_direction) { let titleDir = isRTL(title) ? 'rtl' : 'ltr'; - return '' + fancyTitle + ''; + return `${fancyTitle}`; } return fancyTitle; },