mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-18 07:44:51 +00:00
Fixed refresh logic of checkbox widget
This commit is contained in:
parent
36fa41e19a
commit
6b6b444269
@ -94,10 +94,12 @@ CheckboxWidget.prototype.refresh = function(changedTiddlers) {
|
|||||||
this.refreshSelf();
|
this.refreshSelf();
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
var refreshed = false;
|
||||||
if(changedTiddlers[this.checkboxTitle]) {
|
if(changedTiddlers[this.checkboxTitle]) {
|
||||||
this.inputDomNode.checked = this.getValue();
|
this.inputDomNode.checked = this.getValue();
|
||||||
|
refreshed = true;
|
||||||
}
|
}
|
||||||
return this.refreshChildren(changedTiddlers);
|
return this.refreshChildren(changedTiddlers) || refreshed;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user