@@ -26,16 +26,24 @@ $.widget("ui.panel", {
26
26
this . element . addClass ( "ui-panel ui-widget ui-helper-reset" ) ;
27
27
28
28
var self = this ;
29
- this . headers = this . element . find ( "> li > :first-child,> :not(li):even" ) . addClass ( "ui-panel-header ui-helper-reset ui-state-default ui-corner-all" )
29
+ this . headers = this . element
30
+ . find ( "> li > :first-child,> :not(li):even" )
31
+ . addClass ( "ui-panel-header ui-helper-reset ui-state-default ui-corner-all" )
30
32
. bind ( "mouseenter.panel" , function ( ) {
31
33
if ( self . options . disabled ) {
32
34
return ;
33
35
}
34
36
$ ( this ) . addClass ( 'ui-state-hover' ) ;
35
37
} )
36
- . bind ( "mouseleave.panel" , function ( ) { $ ( this ) . removeClass ( 'ui-state-hover' ) ; } )
37
- . bind ( "focus.panel" , function ( ) { $ ( this ) . addClass ( 'ui-state-focus' ) ; } )
38
- . bind ( "blur.panel" , function ( ) { $ ( this ) . removeClass ( 'ui-state-focus' ) ; } )
38
+ . bind ( "mouseleave.panel" , function ( ) {
39
+ $ ( this ) . removeClass ( 'ui-state-hover' ) ;
40
+ } )
41
+ . bind ( "focus.panel" , function ( ) {
42
+ $ ( this ) . addClass ( 'ui-state-focus' ) ;
43
+ } )
44
+ . bind ( "blur.panel" , function ( ) {
45
+ $ ( this ) . removeClass ( 'ui-state-focus' ) ;
46
+ } )
39
47
. bind ( "click.panel" , function ( e ) {
40
48
if ( self . options . disabled ) {
41
49
return ;
0 commit comments