summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorHendrik Leppelsack <hendrik@leppelsack.de>2015-06-11 18:20:46 +0200
committerHendrik Leppelsack <hendrik@leppelsack.de>2015-06-11 18:26:14 +0200
commit58afa465f91cd5b6224778d9a34348fd7ac4c87e (patch)
treefabea230f152a79aaa99f37b682c658b57554306 /core
parent9d90421e6275199fe9e77a731ded2b09cc29eb3f (diff)
downloadnextcloud-server-58afa465f91cd5b6224778d9a34348fd7ac4c87e.tar.gz
nextcloud-server-58afa465f91cd5b6224778d9a34348fd7ac4c87e.zip
fix childs of slideToggle not sliding the target
Diffstat (limited to 'core')
-rw-r--r--core/js/apps.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/apps.js b/core/js/apps.js
index e9aa0fdfe8d..ecefa48caa1 100644
--- a/core/js/apps.js
+++ b/core/js/apps.js
@@ -58,7 +58,7 @@
if (!area.is(':animated')) {
// button toggles the area
- if (button === event.target) {
+ if (button === event.target.closest('[data-apps-slide-toggle]')) {
if (area.is(':visible')) {
hideArea();
} else {