mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +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;
|
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
|
exports.macrocall = MacroCallRenderer
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
Loading…
Reference in New Issue
Block a user