From d190b93a5135b931d3dcd51a8b3d17d4a79296b2 Mon Sep 17 00:00:00 2001 From: Ege Korkan Date: Tue, 14 Nov 2023 13:14:55 +0100 Subject: [PATCH] remove custom event emission --- packages/web-new/src/scripts/settings-menu.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/web-new/src/scripts/settings-menu.js b/packages/web-new/src/scripts/settings-menu.js index 9d1e81aef..aca8141b0 100644 --- a/packages/web-new/src/scripts/settings-menu.js +++ b/packages/web-new/src/scripts/settings-menu.js @@ -58,7 +58,6 @@ closeSettings.addEventListener("click", () => { settingsBtn.addEventListener("click", () => { settingsMenu.classList.toggle("closed") - window.dispatchEvent(new CustomEvent("popup")); }) //Handle click outside the settings menu