mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Fix toolbar position on Special:CollabPad
Adds missing ve-init-mw-desktopArticleTarget-toolbar-open class. Change-Id: I8579928c8daa224bb9bec8fa5f4360fb3c52c5a1
This commit is contained in:
parent
400e207e5a
commit
058e30d29d
|
@ -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 );
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue