mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
Merge "EditSummaryWidget: Disable pending animation"
This commit is contained in:
commit
afdd97c58f
|
@ -19,8 +19,9 @@
|
||||||
ve.ui.MWEditSummaryWidget = function VeUiMWEditSummaryWidget( config ) {
|
ve.ui.MWEditSummaryWidget = function VeUiMWEditSummaryWidget( config ) {
|
||||||
config = config || {};
|
config = config || {};
|
||||||
|
|
||||||
|
// HACK: Disable pending animation. Should be made an upstream option (T220204)
|
||||||
// Parent method
|
// Parent method
|
||||||
ve.ui.MWEditSummaryWidget.super.apply( this, arguments );
|
ve.ui.MWEditSummaryWidget.super.call( this, ve.extendObject( { $pending: $( [] ) }, config ) );
|
||||||
|
|
||||||
// Mixin method
|
// Mixin method
|
||||||
OO.ui.mixin.LookupElement.call( this, ve.extendObject( { allowSuggestionsWhenEmpty: false }, config ) );
|
OO.ui.mixin.LookupElement.call( this, ve.extendObject( { allowSuggestionsWhenEmpty: false }, config ) );
|
||||||
|
|
Loading…
Reference in a new issue