mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-10-22 03:07:39 +00:00
@@ -112,7 +112,7 @@ Selectively refreshes the widget if needed. Returns true if the widget or any of
|
|||||||
*/
|
*/
|
||||||
TranscludeWidget.prototype.refresh = function(changedTiddlers) {
|
TranscludeWidget.prototype.refresh = function(changedTiddlers) {
|
||||||
var changedAttributes = this.computeAttributes();
|
var changedAttributes = this.computeAttributes();
|
||||||
if(Object.keys(changedAttributes).length || changedTiddlers[this.transcludeTitle]) {
|
if($tw.utils.count(changedAttributes) || changedTiddlers[this.transcludeTitle]) {
|
||||||
this.refreshSelf();
|
this.refreshSelf();
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user