]> source.dussan.org Git - jquery-ui.git/commitdiff
Checkboxradio: Don't add ui-state-hover to icons
authorAlexander Schmitz <arschmitz@gmail.com>
Fri, 30 Sep 2016 20:43:43 +0000 (16:43 -0400)
committerAlexander Schmitz <arschmitz@gmail.com>
Tue, 4 Oct 2016 15:33:17 +0000 (11:33 -0400)
Fixes #15055
Closes gh-1756

ui/widgets/checkboxradio.js

index 45500aaf5d35491c9792090b27737c2b36ef464a..19ae9281108b807003188632df0b498bc7a9c609 100644 (file)
@@ -115,9 +115,6 @@ $.widget( "ui.checkboxradio", [ $.ui.formResetMixin, {
 
                if ( checked ) {
                        this._addClass( this.label, "ui-checkboxradio-checked", "ui-state-active" );
-                       if ( this.icon ) {
-                               this._addClass( this.icon, null, "ui-state-hover" );
-                       }
                }
 
                this._on( {