From cf3414ea39b18d951b73e02380237911ffbbcd32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= Date: Mon, 2 Dec 2024 15:26:45 +0100 Subject: [PATCH] remove modal_children --- panel/models/modal.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/panel/models/modal.ts b/panel/models/modal.ts index e93504d8e2..21ec9227ef 100644 --- a/panel/models/modal.ts +++ b/panel/models/modal.ts @@ -39,7 +39,6 @@ export class ModalView extends BkColumnView { modal: A11yDialogView close_button: HTMLButtonElement - modal_children: HTMLElement override connect_signals(): void { super.connect_signals() @@ -92,13 +91,11 @@ export class ModalView extends BkColumnView { ariaLabel: "Close this dialog window", } as any) this.close_button.innerHTML = "✕" - this.modal_children = div({id: "pnx_modal_object"}) container.append(dialog) dialog.append(dialog_overlay) dialog.append(content) content.append(this.close_button) - content.append(this.modal_children) this.shadow_el.append(container) let first_open = false