From 93c50ea894e55be0965438ef24afb3f73ddbb3bd Mon Sep 17 00:00:00 2001 From: Bertrand Zuchuat Date: Tue, 2 Nov 2021 11:33:12 +0100 Subject: [PATCH] application: fix responsive design menu * Closes #667. Co-Authored-by: Bertrand Zuchuat --- sonar/theme/templates/sonar/page.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sonar/theme/templates/sonar/page.html b/sonar/theme/templates/sonar/page.html index 5889ea54..1c538d9e 100755 --- a/sonar/theme/templates/sonar/page.html +++ b/sonar/theme/templates/sonar/page.html @@ -163,11 +163,6 @@ document.addEventListener('click', function (event) { let link = event.target; - // Don't do anything if element don't have custom class. - if (!link.matches('.dropdown-toggle-custom')) { - return; - } - const dropdowns = document.getElementsByClassName('dropdown-menu show'); // If the clicked element doesn't have the right selector, bail