mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 12:42:57 +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];
|
Discourse.RAW_TEMPLATES[name];
|
||||||
}
|
}
|
||||||
|
|
||||||
return Discourse.RAW_TEMPLATES[name];
|
return Discourse.RAW_TEMPLATES[name] ||
|
||||||
|
Discourse.RAW_TEMPLATES[`javascripts/${name}`];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user