[Pkg-owncloud-commits] [owncloud] 384/457: fix childs of slideToggle not sliding the target

David Prévot taffit at moszumanska.debian.org
Sun Jun 28 20:06:51 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 58afa465f91cd5b6224778d9a34348fd7ac4c87e
Author: Hendrik Leppelsack <hendrik at leppelsack.de>
Date:   Thu Jun 11 18:20:46 2015 +0200

    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 e9aa0fd..ecefa48 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 {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list