mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-02 12:19:11 +00:00
Comment update
This commit is contained in:
parent
9d39e9a5f1
commit
5627e731b1
@ -207,7 +207,7 @@ Macro.prototype.refreshInDom = function(changes) {
|
|||||||
// Check if any of the dependencies of this macro node have changed
|
// Check if any of the dependencies of this macro node have changed
|
||||||
if(this.dependencies.hasChanged(changes,this.tiddlerTitle)) {
|
if(this.dependencies.hasChanged(changes,this.tiddlerTitle)) {
|
||||||
// Re-execute the macro if so
|
// Re-execute the macro if so
|
||||||
// Macros can only auto-refresh if their immediate child is a DOM node
|
// Macros can only auto-refresh if on of their descendent child has a DOM node
|
||||||
var child = this.child;
|
var child = this.child;
|
||||||
while(!child.domNode && child.child) {
|
while(!child.domNode && child.child) {
|
||||||
child = child.child;
|
child = child.child;
|
||||||
|
Loading…
Reference in New Issue
Block a user