diff --git a/modules/ve-mw/init/targets/ve.init.mw.MobileArticleTarget.js b/modules/ve-mw/init/targets/ve.init.mw.MobileArticleTarget.js index bd8b3b481a..1356f1f513 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.MobileArticleTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.MobileArticleTarget.js @@ -482,8 +482,6 @@ ve.init.mw.MobileArticleTarget.prototype.load = function () { * @inheritdoc */ ve.init.mw.MobileArticleTarget.prototype.setupToolbar = function ( surface ) { - var $header = this.overlay.$el.find( '.overlay-header-container' ); - if ( !this.pageToolbar ) { this.pageToolbar = new ve.ui.TargetToolbar( this, { actions: true } ); } @@ -547,18 +545,6 @@ ve.init.mw.MobileArticleTarget.prototype.setupToolbar = function ( surface ) { // Append the context to the toolbar this.toolbar.$bar.append( surface.getContext().$element ); - // Animate the toolbar sliding into place. - // Do not animate if we're replacing the wikitext editor toolbar. - if ( !this.overlay.options.switched ) { - $header.addClass( 'toolbar-hidden' ); - setTimeout( function () { - $header.addClass( 'toolbar-shown' ); - setTimeout( function () { - $header.addClass( 'toolbar-shown-done' ); - }, 250 ); - } ); - } - // Don't wait for the first surface focus/blur event to hide one of the toolbars this.onSurfaceBlur(); };