X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/3b8ee3954e3f2834dae4b7a56d4fcecd5e8d03e6..1dbc3588cf11c12fde3da0ca4cb951c55ce810d9:/resources/js/components/confirm-dialog.js diff --git a/resources/js/components/confirm-dialog.js b/resources/js/components/confirm-dialog.js index 215c0b94e..572945d5a 100644 --- a/resources/js/components/confirm-dialog.js +++ b/resources/js/components/confirm-dialog.js @@ -34,7 +34,7 @@ export class ConfirmDialog extends Component { * @returns {Popup} */ getPopup() { - return this.container.components.popup; + return window.$components.firstOnElement(this.container, 'popup'); } /**