File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,14 @@ $.widget( "ui.popup", {
23
23
my : "left top" ,
24
24
at : "left bottom"
25
25
} ,
26
- show : "slideDown" ,
27
- hide : "fadeOut"
26
+ show : {
27
+ effect : "slideDown" ,
28
+ duration : "fast"
29
+ } ,
30
+ hide : {
31
+ effect : "fadeOut" ,
32
+ duration : "fast"
33
+ }
28
34
} ,
29
35
_create : function ( ) {
30
36
if ( ! this . options . trigger ) {
@@ -47,7 +53,7 @@ $.widget( "ui.popup", {
47
53
. attr ( "aria-owns" , this . element . attr ( "id" ) ) ;
48
54
49
55
this . element
50
- . addClass ( "ui-popup" )
56
+ . addClass ( "ui-popup" ) ;
51
57
this . _beforeClose ( ) ;
52
58
this . element . hide ( ) ;
53
59
@@ -134,7 +140,7 @@ $.widget( "ui.popup", {
134
140
this . close ( event ) ;
135
141
}
136
142
}
137
- } )
143
+ } ) ;
138
144
} ,
139
145
140
146
_destroy : function ( ) {
@@ -203,7 +209,7 @@ $.widget( "ui.popup", {
203
209
this . isOpen = false ;
204
210
this . _trigger ( "close" , event ) ;
205
211
} ,
206
-
212
+
207
213
_beforeClose : function ( ) {
208
214
this . element
209
215
. attr ( "aria-hidden" , "true" )
You can’t perform that action at this time.
0 commit comments