mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-11 17:02:28 +00:00
Fix attachment of toolbar dialogs
getToolbarDialogs defaults to the `side` position, but we actually want the `above` one here. Bug: T371341 Change-Id: Ib42f6a4877d3b0efb87199f60cce7a7416ce9b8a
This commit is contained in:
parent
2578d00536
commit
da47997ef4
|
@ -128,7 +128,7 @@ CommentTarget.prototype.attachToolbar = function () {
|
|||
this.replyWidget.$headerWrapper.append(
|
||||
this.getToolbar().$element.append( this.replyWidget.modeTabSelect ? this.replyWidget.modeTabSelect.$element : null )
|
||||
);
|
||||
this.getToolbar().$element.prepend( this.getSurface().getToolbarDialogs().$element );
|
||||
this.getToolbar().$element.prepend( this.getSurface().getToolbarDialogs( 'above' ).$element );
|
||||
};
|
||||
|
||||
CommentTarget.prototype.getSurfaceConfig = function ( config ) {
|
||||
|
|
Loading…
Reference in a new issue