aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-06-17 16:06:47 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-06-17 16:06:47 +0200
commit9a0b0ba4889142d1b105bcf7df2b5b79864b8013 (patch)
tree798048dabc3256e285a075faf65dccbe93f6cb3a /core
parenta89bb1d3839b80f8846b0ed9e462a42065d4ad9f (diff)
parent2abedd544beb962219493defcdcb1561be1b12d1 (diff)
downloadnextcloud-server-9a0b0ba4889142d1b105bcf7df2b5b79864b8013.tar.gz
nextcloud-server-9a0b0ba4889142d1b105bcf7df2b5b79864b8013.zip
Merge pull request #16893 from owncloud/fixSlideToggle
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 {