Permalink
Browse files

Checkbox: Fix toggling of checkbox in case of enhanced

Fixes #8253
  • Loading branch information...
apsdehal authored and arschmitz committed Dec 12, 2015
1 parent cfef5c6 commit 5ebe2c73f67e5578ab55398dd247149f7cd5297d
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/forms/checkboxradio.js
@@ -42,7 +42,7 @@ $.widget( "ui.checkboxradio", $.ui.checkboxradio, {
if ( !this.options.enhanced ) {
this._super();
} else if ( this.options.icon ) {
this.icon = this.element.find( "ui-button-icon" );
this.icon = this.element.parent().find( ".ui-checkboxradio-icon" );
}
},

0 comments on commit 5ebe2c7

Please sign in to comment.