fix childs of slideToggle not sliding the target

This commit is contained in:
Hendrik Leppelsack 2015-06-11 18:20:46 +02:00
parent 9d90421e62
commit 58afa465f9
1 changed files with 1 additions and 1 deletions

View File

@ -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 {