FIX: Prioritize raw template overrides from plugins

This commit is contained in:
Robin Ward 2016-12-20 13:06:47 -05:00
parent 158670ca5e
commit 1be800b673
1 changed files with 2 additions and 2 deletions

View File

@ -6,6 +6,6 @@ export function findRawTemplate(name) {
Discourse.RAW_TEMPLATES[name]; Discourse.RAW_TEMPLATES[name];
} }
return Discourse.RAW_TEMPLATES[name] || return Discourse.RAW_TEMPLATES[`javascripts/${name}`] ||
Discourse.RAW_TEMPLATES[`javascripts/${name}`]; Discourse.RAW_TEMPLATES[name];
} }