1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Fix suspected typo that impacts refresh handling (#4464)

This commit is contained in:
saqimtiaz 2020-03-09 22:07:34 +01:00 committed by GitHub
parent a22438589e
commit 8cd1dc36c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,7 @@ Selectively refreshes the widget if needed. Returns true if the widget or any of
*/ */
DraggableWidget.prototype.refresh = function(changedTiddlers) { DraggableWidget.prototype.refresh = function(changedTiddlers) {
var changedAttributes = this.computeAttributes(); var changedAttributes = this.computeAttributes();
if(changedTiddlers.tag || changedTiddlers["class"]) { if(changedAttributes.tag || changedAttributes["class"]) {
this.refreshSelf(); this.refreshSelf();
return true; return true;
} }