FIX: Allow resolution of `javascripts` prefixed raw templates
This commit is contained in:
parent
16b236899c
commit
da4e27ca7d
|
@ -6,5 +6,6 @@ export function findRawTemplate(name) {
|
|||
Discourse.RAW_TEMPLATES[name];
|
||||
}
|
||||
|
||||
return Discourse.RAW_TEMPLATES[name];
|
||||
return Discourse.RAW_TEMPLATES[name] ||
|
||||
Discourse.RAW_TEMPLATES[`javascripts/${name}`];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue