diff --git a/app/assets/javascripts/discourse/lib/raw-templates.js.es6 b/app/assets/javascripts/discourse/lib/raw-templates.js.es6 index d26bf7ce2c9..d814b47064e 100644 --- a/app/assets/javascripts/discourse/lib/raw-templates.js.es6 +++ b/app/assets/javascripts/discourse/lib/raw-templates.js.es6 @@ -6,6 +6,6 @@ export function findRawTemplate(name) { Discourse.RAW_TEMPLATES[name]; } - return Discourse.RAW_TEMPLATES[name] || - Discourse.RAW_TEMPLATES[`javascripts/${name}`]; + return Discourse.RAW_TEMPLATES[`javascripts/${name}`] || + Discourse.RAW_TEMPLATES[name]; }