diff --git a/modules/ve-mw/ui/dialogs/ve.ui.MWTemplateDialog.js b/modules/ve-mw/ui/dialogs/ve.ui.MWTemplateDialog.js index 527f7001e2..8d1698891f 100644 --- a/modules/ve-mw/ui/dialogs/ve.ui.MWTemplateDialog.js +++ b/modules/ve-mw/ui/dialogs/ve.ui.MWTemplateDialog.js @@ -27,7 +27,7 @@ ve.ui.MWTemplateDialog = function VeUiMWTemplateDialog( config ) { this.preventReselection = false; this.confirmOverlay = new ve.ui.Overlay( { classes: ['ve-ui-overlay-global'] } ); - this.confirmDialogs = new OO.ui.WindowManager( { factory: ve.ui.windowFactory, isolate: true } ); + this.confirmDialogs = new ve.ui.WindowManager( { factory: ve.ui.windowFactory, isolate: true } ); this.confirmOverlay.$element.append( this.confirmDialogs.$element ); $( 'body' ).append( this.confirmOverlay.$element ); };