Merge pull request #16893 from owncloud/fixSlideToggle
Fix childs of slideToggle not sliding the target
This commit is contained in:
commit
9a0b0ba488
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
<div id="app-settings">
|
||||
<div id="app-settings-header">
|
||||
<button class="settings-button" data-apps-slide-toggle="#app-settings-content">
|
||||
<span><?php p($l->t('Settings'));?></span>
|
||||
<?php p($l->t('Settings'));?>
|
||||
</button>
|
||||
</div>
|
||||
<div id="app-settings-content">
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue