fix childs of slideToggle not sliding the target
This commit is contained in:
parent
9d90421e62
commit
58afa465f9
|
@ -58,7 +58,7 @@
|
||||||
if (!area.is(':animated')) {
|
if (!area.is(':animated')) {
|
||||||
|
|
||||||
// button toggles the area
|
// button toggles the area
|
||||||
if (button === event.target) {
|
if (button === event.target.closest('[data-apps-slide-toggle]')) {
|
||||||
if (area.is(':visible')) {
|
if (area.is(':visible')) {
|
||||||
hideArea();
|
hideArea();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue