From 058e30d29d0bd2cef343c4f83b69bea6234ad405 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 21 Jul 2017 19:30:00 +0100 Subject: [PATCH] Fix toolbar position on Special:CollabPad Adds missing ve-init-mw-desktopArticleTarget-toolbar-open class. Change-Id: I8579928c8daa224bb9bec8fa5f4360fb3c52c5a1 --- modules/ve-mw-collab/ve.init.mw.CollabTarget.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/ve-mw-collab/ve.init.mw.CollabTarget.js b/modules/ve-mw-collab/ve.init.mw.CollabTarget.js index 4d95271c6b..327bed5e72 100644 --- a/modules/ve-mw-collab/ve.init.mw.CollabTarget.js +++ b/modules/ve-mw-collab/ve.init.mw.CollabTarget.js @@ -81,7 +81,9 @@ ve.init.mw.CollabTarget.prototype.surfaceReady = function () { * @inheritdoc */ ve.init.mw.CollabTarget.prototype.attachToolbar = function () { - this.toolbar.$element.addClass( 've-init-mw-desktopArticleTarget-toolbar ve-init-mw-desktopArticleTarget-toolbar-opened' ); + this.toolbar.$element.addClass( + 've-init-mw-desktopArticleTarget-toolbar ve-init-mw-desktopArticleTarget-toolbar-open ve-init-mw-desktopArticleTarget-toolbar-opened' + ); this.$element.prepend( this.toolbar.$element ); };