mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
Fix save dialog error message transition
Element must be hidden for $.slideDown to work. Also speed up animation to OOUI default 250ms. Change-Id: I0616c156f1893688abd80f9e47c1a88e9237d085
This commit is contained in:
parent
3949712ec0
commit
a9aa4d6c15
|
@ -468,9 +468,10 @@ ve.ui.MWSaveDialog.prototype.showMessage = function ( name, message, options ) {
|
|||
} else {
|
||||
$message.append( message );
|
||||
}
|
||||
this.$saveMessages.append( $message );
|
||||
this.$saveMessages.append( $message.css( 'display', 'none' ) );
|
||||
|
||||
$message.slideDown( {
|
||||
duration: 250,
|
||||
progress: this.updateSize.bind( this )
|
||||
} );
|
||||
|
||||
|
|
Loading…
Reference in a new issue