diff options
Diffstat (limited to 'Echo/modules/ui/mw.echo.ui.ConfirmationPopupWidget.js')
-rw-r--r-- | Echo/modules/ui/mw.echo.ui.ConfirmationPopupWidget.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Echo/modules/ui/mw.echo.ui.ConfirmationPopupWidget.js b/Echo/modules/ui/mw.echo.ui.ConfirmationPopupWidget.js index e44354a8..6541dae4 100644 --- a/Echo/modules/ui/mw.echo.ui.ConfirmationPopupWidget.js +++ b/Echo/modules/ui/mw.echo.ui.ConfirmationPopupWidget.js @@ -1,4 +1,4 @@ -( function ( mw, $ ) { +( function () { /** * Confirmation overlay widget, especially for mobile display. * The behavior of this widget is to appear with a given confirmation @@ -56,6 +56,8 @@ * @private */ mw.echo.ui.ConfirmationPopupWidget.prototype.hide = function () { + // FIXME: Use CSS transition + // eslint-disable-next-line no-jquery/no-fade this.$element.fadeOut(); }; @@ -68,4 +70,4 @@ mw.echo.ui.ConfirmationPopupWidget.prototype.setLabel = function ( label ) { this.labelWidget.setLabel( label ); }; -}( mediaWiki, jQuery ) ); +}() ); |