diff --git a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js index ca39aeb435..f7e11489d3 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js @@ -457,7 +457,6 @@ ve.init.mw.DesktopArticleTarget.prototype.activate = function ( dataPromise ) { ] ) ); surface.setDisabled( true ); // setSurface creates dummy toolbar - this.dummyToolbar = true; this.setSurface( surface ); // Disconnect the tool factory listeners so the toolbar // doesn't start showing new tools as they load, too diff --git a/modules/ve-mw/init/ve.init.mw.Target.js b/modules/ve-mw/init/ve.init.mw.Target.js index 0dd83b9c32..885cc6a922 100644 --- a/modules/ve-mw/init/ve.init.mw.Target.js +++ b/modules/ve-mw/init/ve.init.mw.Target.js @@ -383,8 +383,6 @@ ve.init.mw.Target.prototype.addSurface = function () { surface.$element.addClass( 've-init-mw-target-surface' ); this.track( 'trace.createSurface.exit' ); - this.dummyToolbar = false; - this.setSurface( surface ); setTimeout( function () {