From 58afa465f91cd5b6224778d9a34348fd7ac4c87e Mon Sep 17 00:00:00 2001 From: Hendrik Leppelsack Date: Thu, 11 Jun 2015 18:20:46 +0200 Subject: [PATCH] fix childs of slideToggle not sliding the target --- core/js/apps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/js/apps.js b/core/js/apps.js index e9aa0fdfe8..ecefa48caa 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 {