diff --git a/modules/ve-mw/ui/dialogs/ve.ui.MWTemplateDialog.js b/modules/ve-mw/ui/dialogs/ve.ui.MWTemplateDialog.js index 5c864dca95..373e987719 100644 --- a/modules/ve-mw/ui/dialogs/ve.ui.MWTemplateDialog.js +++ b/modules/ve-mw/ui/dialogs/ve.ui.MWTemplateDialog.js @@ -36,10 +36,8 @@ ve.ui.MWTemplateDialog = function VeUiMWTemplateDialog( config ) { this.canGoBack = false; this.preventReselection = false; - this.confirmOverlay = new ve.ui.Overlay( { classes: [ 've-ui-overlay-global' ] } ); this.confirmDialogs = new ve.ui.WindowManager( { factory: ve.ui.windowFactory, isolate: true } ); - this.confirmOverlay.$element.append( this.confirmDialogs.$element ); - $( document.body ).append( this.confirmOverlay.$element ); + $( document.body ).append( this.confirmDialogs.$element ); }; /* Inheritance */