Fix toolbar position on Special:CollabPad

Adds missing ve-init-mw-desktopArticleTarget-toolbar-open class.

Change-Id: I8579928c8daa224bb9bec8fa5f4360fb3c52c5a1
This commit is contained in:
Ed Sanders 2017-07-21 19:30:00 +01:00
parent 400e207e5a
commit 058e30d29d

View file

@ -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 );
};