FIX: Prioritize raw template overrides from plugins
This commit is contained in:
parent
158670ca5e
commit
1be800b673
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue