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", {
2323 my : "left top" ,
2424 at : "left bottom"
2525 } ,
26- show : "slideDown" ,
27- hide : "fadeOut"
26+ show : {
27+ effect : "slideDown" ,
28+ duration : "fast"
29+ } ,
30+ hide : {
31+ effect : "fadeOut" ,
32+ duration : "fast"
33+ }
2834 } ,
2935 _create : function ( ) {
3036 if ( ! this . options . trigger ) {
@@ -47,7 +53,7 @@ $.widget( "ui.popup", {
4753 . attr ( "aria-owns" , this . element . attr ( "id" ) ) ;
4854
4955 this . element
50- . addClass ( "ui-popup" )
56+ . addClass ( "ui-popup" ) ;
5157 this . _beforeClose ( ) ;
5258 this . element . hide ( ) ;
5359
@@ -134,7 +140,7 @@ $.widget( "ui.popup", {
134140 this . close ( event ) ;
135141 }
136142 }
137- } )
143+ } ) ;
138144 } ,
139145
140146 _destroy : function ( ) {
@@ -203,7 +209,7 @@ $.widget( "ui.popup", {
203209 this . isOpen = false ;
204210 this . _trigger ( "close" , event ) ;
205211 } ,
206-
212+
207213 _beforeClose : function ( ) {
208214 this . element
209215 . attr ( "aria-hidden" , "true" )
You can’t perform that action at this time.
0 commit comments