From b56dcb4d604a3a94188c17e2d04d0200e62d955b Mon Sep 17 00:00:00 2001 From: Florin Raducan Date: Tue, 26 Nov 2024 13:22:00 +0200 Subject: [PATCH] Code cleanup --- blocks/popup/popup.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/blocks/popup/popup.js b/blocks/popup/popup.js index d25382b..6148f24 100644 --- a/blocks/popup/popup.js +++ b/blocks/popup/popup.js @@ -116,13 +116,6 @@ export default class Popup extends ComponentBase { if (this.isActive) return; this.openPopup(); - /* popupState.closeActivePopup(); - popupState.activePopup = this; - - blockBodyScroll(true); - this.showPopup(true); - this.toggleCloseOnEsc(true); - focusFirstElementInContainer(this.elements.popupContainer); */ } async addFragmentContent() {