mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-10 11:59:58 +00:00
Fix issue with child nodes of macro call not being refreshed
This commit is contained in:
parent
4f9649f5ac
commit
6299026407
@ -51,6 +51,15 @@ MacroCallRenderer.prototype.renderInDom = function() {
|
||||
return this.domNode;
|
||||
};
|
||||
|
||||
MacroCallRenderer.prototype.refreshInDom = function(changedTiddlers) {
|
||||
// Refresh any child nodes
|
||||
$tw.utils.each(this.children,function(node) {
|
||||
if(node.refreshInDom) {
|
||||
node.refreshInDom(changedTiddlers);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
exports.macrocall = MacroCallRenderer
|
||||
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user