Former-commit-id: 3a8caae1c8
This commit is contained in:
Henrique Dias 2017-01-01 23:41:44 +00:00
parent c5cb16579e
commit a418fe0673

View File

@ -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');