Skip to content

Commit

Permalink
application: fix responsive design menu
Browse files Browse the repository at this point in the history
* Closes #667.

Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
  • Loading branch information
Garfield-fr authored and jma committed Nov 4, 2021
1 parent dcd9574 commit 93c50ea
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions sonar/theme/templates/sonar/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 93c50ea

Please sign in to comment.