summaryrefslogtreecommitdiffstats
path: root/core/js/apps.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/apps.js')
-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 {