mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: Use proper iconNode
when compiling virtual dom templates
This commit is contained in:
parent
0fb7831749
commit
cb56dcdf2e
3 changed files with 20 additions and 5 deletions
|
@ -23,6 +23,8 @@ export function iconNode(id, params) {
|
|||
return renderIcon('node', id, params);
|
||||
}
|
||||
|
||||
Discourse.__widget_helpers.iconNode = iconNode;
|
||||
|
||||
export function registerIconRenderer(renderer) {
|
||||
_renderers.unshift(renderer);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue