[Pkg-owncloud-commits] [owncloud] 70/131: fix browser compatibility issue for element.closest
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 15:58:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v8.1.1
in repository owncloud.
commit 17d7a2893e922171b5cf754f1047be2165401351
Author: Hendrik Leppelsack <hendrik at leppelsack.de>
Date: Wed Jul 8 15:49:19 2015 +0200
fix browser compatibility issue for element.closest
---
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 ecefa48..71170bb 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.closest('[data-apps-slide-toggle]')) {
+ if ($(button).is($(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