From e52620677730674c48ed5b6cbc455beeef0f6347 Mon Sep 17 00:00:00 2001 From: XnpioChV Date: Wed, 8 May 2024 12:16:23 -0500 Subject: [PATCH] feat: Avoid to close tag drawer when click outside --- cms/static/js/views/utils/tagging_drawer_utils.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cms/static/js/views/utils/tagging_drawer_utils.js b/cms/static/js/views/utils/tagging_drawer_utils.js index 227c19e9cd2a..66a90d7d5707 100644 --- a/cms/static/js/views/utils/tagging_drawer_utils.js +++ b/cms/static/js/views/utils/tagging_drawer_utils.js @@ -25,11 +25,6 @@ function($) { const drawer = document.querySelector("#manage-tags-drawer"); const drawerCover = document.querySelector(".drawer-cover"); - // Add handler to close drawer when dark background is clicked - $(drawerCover).click(function() { - closeDrawer(drawer, drawerCover); - }.bind(this)); - // Add event listen to close drawer when close button is clicked from within the Iframe window.addEventListener("message", function (event) { if (event.data === 'closeManageTagsDrawer') {