mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Merge "Fix position of inspectors/context inside dialogs"
This commit is contained in:
commit
60ef3af0b1
|
@ -171,10 +171,9 @@ ve.init.mw.DesktopArticleTarget.static.platformType = 'desktop';
|
|||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
ve.init.mw.DesktopArticleTarget.prototype.getSurfaceConfig = function ( config ) {
|
||||
return ve.init.mw.DesktopArticleTarget.super.prototype.getSurfaceConfig.call( this, ve.extendObject( {
|
||||
$overlayContainer: $( '#content' )
|
||||
}, config ) );
|
||||
ve.init.mw.DesktopArticleTarget.prototype.addSurface = function ( dmDoc, config ) {
|
||||
config = ve.extendObject( { $overlayContainer: $( '#content' ) }, config );
|
||||
return ve.init.mw.DesktopArticleTarget.parent.prototype.addSurface.call( this, dmDoc, config );
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue