mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Allow resolution of javascripts prefixed raw templates
This commit is contained in:
@@ -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}`];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user