mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
Fix toolbar placement
The selector is too weak and results in the toolbar being placed in positions it shouldn't be! Whoopsy! Change-Id: I63540130e4de01f9326fe110d606985fea70b644
This commit is contained in:
parent
c93f54e1b8
commit
684c9887cd
|
@ -70,5 +70,5 @@ ve.init.mw.Target.prototype.setUpToolbar = function () {
|
||||||
this.surface.addCommands( this.constructor.static.surfaceCommands );
|
this.surface.addCommands( this.constructor.static.surfaceCommands );
|
||||||
this.toolbar.$element
|
this.toolbar.$element
|
||||||
.addClass( 've-init-mw-viewPageTarget-toolbar' )
|
.addClass( 've-init-mw-viewPageTarget-toolbar' )
|
||||||
.appendTo( '.overlay-header > div' );
|
.appendTo( '.overlay-header > .toolbar' );
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue