File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ $.widget( "ui.popup", {
45
45
} ,
46
46
click : function ( event ) {
47
47
event . preventDefault ( ) ;
48
- if ( this . open ) {
48
+ if ( this . isOpen ) {
49
49
// let it propagate to close
50
50
return ;
51
51
}
@@ -75,7 +75,7 @@ $.widget( "ui.popup", {
75
75
76
76
this . _bind ( document , {
77
77
click : function ( event ) {
78
- if ( this . open && ! $ ( event . target ) . closest ( ".ui-popup" ) . length ) {
78
+ if ( this . isOpen && ! $ ( event . target ) . closest ( ".ui-popup" ) . length ) {
79
79
this . close ( event ) ;
80
80
}
81
81
}
@@ -116,7 +116,7 @@ $.widget( "ui.popup", {
116
116
// take trigger out of tab order to allow shift-tab to skip trigger
117
117
this . options . trigger . attr ( "tabindex" , - 1 ) ;
118
118
119
- this . open = true ;
119
+ this . isOpen = true ;
120
120
this . _trigger ( "open" , event ) ;
121
121
} ,
122
122
@@ -128,7 +128,7 @@ $.widget( "ui.popup", {
128
128
129
129
this . options . trigger . attr ( "tabindex" , 0 ) ;
130
130
131
- this . open = false ;
131
+ this . isOpen = false ;
132
132
this . _trigger ( "close" , event ) ;
133
133
}
134
134
You can’t perform that action at this time.
0 commit comments