mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-30 04:11:32 -08:00
Fixed refresh bug with radio widget where the tc-radio-selected class is not correctly updated (#6044)
This commit is contained in:
parent
e9d8547a81
commit
de33b365ae
1 changed files with 1 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ RadioWidget.prototype.refresh = function(changedTiddlers) {
|
|||
return true;
|
||||
} else if(changedTiddlers[this.radioTitle]) {
|
||||
this.inputDomNode.checked = this.getValue() === this.radioValue;
|
||||
$tw.utils.toggleClass(this.labelDomNode,"tc-radio-selected",this.inputDomNode.checked);
|
||||
return this.refreshChildren(changedTiddlers);
|
||||
} else {
|
||||
return this.refreshChildren(changedTiddlers);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue