Popup: Use duration:fast for default animations. Also fix two missing semicolons.

This commit is contained in:
Jörn Zaefferer 2011-09-21 22:48:55 +02:00
parent 2196b74a31
commit a3866bf057

14
ui/jquery.ui.popup.js vendored
View File

@ -23,8 +23,14 @@ $.widget( "ui.popup", {
my: "left top",
at: "left bottom"
},
show: "slideDown",
hide: "fadeOut"
show: {
effect: "slideDown",
duration: "fast"
},
hide: {
effect: "fadeOut",
duration: "fast"
}
},
_create: function() {
if ( !this.options.trigger ) {
@ -47,7 +53,7 @@ $.widget( "ui.popup", {
.attr( "aria-owns", this.element.attr( "id" ) );
this.element
.addClass( "ui-popup" )
.addClass( "ui-popup" );
this._beforeClose();
this.element.hide();
@ -134,7 +140,7 @@ $.widget( "ui.popup", {
this.close( event );
}
}
})
});
},
_destroy: function() {