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:
David Lynch 2024-08-06 11:39:44 -05:00
parent 2578d00536
commit da47997ef4

View file

@ -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 ) {