mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-24 02:27:19 +00:00
Fixed refresh logic of element widget
This commit is contained in:
parent
6b6b444269
commit
0b0fb0a145
@ -67,8 +67,7 @@ ElementWidget.prototype.refresh = function(changedTiddlers) {
|
|||||||
// Update our attributes
|
// Update our attributes
|
||||||
this.assignAttributes(this.domNodes[0]);
|
this.assignAttributes(this.domNodes[0]);
|
||||||
}
|
}
|
||||||
var hasRefreshed = this.refreshChildren(changedTiddlers);
|
return this.refreshChildren(changedTiddlers) || hasChangedAttributes;
|
||||||
return hasRefreshed || hasChangedAttributes;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user