update
parent
1d3d5e9b24
commit
3a8caae1c8
|
@ -417,9 +417,6 @@ document.addEventListener("DOMContentLoaded", function(event) {
|
||||||
let dropdownButtons = document.querySelectorAll('.action[data-dropdown]')
|
let dropdownButtons = document.querySelectorAll('.action[data-dropdown]')
|
||||||
Array.from(dropdownButtons).forEach(button => {
|
Array.from(dropdownButtons).forEach(button => {
|
||||||
button.addEventListener("click", event => {
|
button.addEventListener("click", event => {
|
||||||
event.preventDefault();
|
|
||||||
event.stopPropagation();
|
|
||||||
|
|
||||||
button.querySelector('ul').classList.toggle("active");
|
button.querySelector('ul').classList.toggle("active");
|
||||||
clickOverlay.classList.add('active');
|
clickOverlay.classList.add('active');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue