mirror of
https://github.com/discourse/discourse.git
synced 2025-03-28 13:55:37 +08:00
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…
x
Reference in New Issue
Block a user