mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
parent
c5cb16579e
commit
a418fe0673
@ -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
Block a user