mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
update
This commit is contained in:
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
Block a user