Fix transclusion refreshing

Missed off 80ee5adb14
publishing-framework
jeremy@jermolene.com 2021-03-19 16:14:15 +00:00
rodzic 80ee5adb14
commit 9af68297cd
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -112,7 +112,7 @@ Selectively refreshes the widget if needed. Returns true if the widget or any of
*/
TranscludeWidget.prototype.refresh = function(changedTiddlers) {
var changedAttributes = this.computeAttributes();
if(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedTiddlers[this.transcludeTitle]) {
if(Object.keys(changedAttributes).length || changedTiddlers[this.transcludeTitle]) {
this.refreshSelf();
return true;
} else {