diff --git a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js index ca228efb43..ba309c8b2c 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js @@ -163,6 +163,15 @@ ve.init.mw.DesktopArticleTarget.static.platformType = 'desktop'; /* Methods */ +/** + * @inheritdoc + */ +ve.init.mw.DesktopArticleTarget.prototype.getSurfaceConfig = function ( config ) { + return ve.init.mw.DesktopArticleTarget.super.prototype.getSurfaceConfig.call( this, ve.extendObject( { + $overlayContainer: $( '#content' ) + }, config ) ); +}; + /** * Get the editable part of the page *