Skip to content
Snippets Groups Projects
Commit 9a0b0ba4 authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #16893 from owncloud/fixSlideToggle

Fix childs of slideToggle not sliding the target
parents a89bb1d3 2abedd54
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<div id="app-settings"> <div id="app-settings">
<div id="app-settings-header"> <div id="app-settings-header">
<button class="settings-button" data-apps-slide-toggle="#app-settings-content"> <button class="settings-button" data-apps-slide-toggle="#app-settings-content">
<span><?php p($l->t('Settings'));?></span> <?php p($l->t('Settings'));?>
</button> </button>
</div> </div>
<div id="app-settings-content"> <div id="app-settings-content">
......
...@@ -58,7 +58,7 @@ ...@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment