aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widgets/checkboxradio.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/widgets/checkboxradio.js')
-rw-r--r--ui/widgets/checkboxradio.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/widgets/checkboxradio.js b/ui/widgets/checkboxradio.js
index 6bdd858db..769ab146f 100644
--- a/ui/widgets/checkboxradio.js
+++ b/ui/widgets/checkboxradio.js
@@ -226,14 +226,14 @@ $.widget( "ui.checkboxradio", [ $.ui.formResetMixin, {
}
if ( this.type === "checkbox" ) {
- toAdd += checked ? "ui-icon-check" : "ui-icon-blank";
+ toAdd += checked ? "ui-icon-check ui-state-highlight" : "ui-icon-blank";
this._removeClass( this.icon, null, checked ? "ui-icon-blank" : "ui-icon-check" );
} else {
toAdd += "ui-icon-blank";
}
this._addClass( this.icon, "ui-checkboxradio-icon", toAdd );
if ( !checked ) {
- this._removeClass( this.icon, null, "ui-icon-check" );
+ this._removeClass( this.icon, null, "ui-icon-check ui-state-highlight" );
}
this.icon.prependTo( this.label ).after( this.iconSpace );
} else if ( this.icon !== undefined ) {