1
0
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:
Jeremy Ruston 2013-11-01 17:22:51 +00:00
parent 6b6b444269
commit 0b0fb0a145

View File

@ -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;
}; };
/* /*