Hide nextcloud menu on click

Simó Albert i Beltran 2022-01-13 13:12:26 +01:00
parent 49aede57b2
commit febcf76f90
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,9 @@ jQuery(document).ready(() => {
$('#dropdownMenuAppsButton').click(() => { $('#dropdownMenuAppsButton').click(() => {
$('#dropdownMenuApps').toggle() $('#dropdownMenuApps').toggle()
}) })
$('#dropdownMenuApps a').click(() => {
$('#dropdownMenuApps').toggle()
})
}) })
$(window).click( (event) => { $(window).click( (event) => {
if ( if (