mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +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