userdropdown animation
This commit is contained in:
parent
75be6fcfae
commit
69739367dc
@ -501,7 +501,9 @@ Template.main.events({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!document.getElementById("userDropdown").contains(event.target)) $("#userDropdown").velocity("fadeOut", 150);
|
if (document.getElementById("userDropdown").style.display === "block" &&
|
||||||
|
!document.getElementById("userDropdown").contains(event.target))
|
||||||
|
$("#userDropdown").velocity("fadeOut", 150);
|
||||||
},
|
},
|
||||||
// MAIN MENU BUTTONS
|
// MAIN MENU BUTTONS
|
||||||
'click .fa-bars' (event) { // Click menu button.
|
'click .fa-bars' (event) { // Click menu button.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user