diff options
author | Hendrik Leppelsack <hendrik@leppelsack.de> | 2015-07-08 15:49:19 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-07-17 15:08:45 +0200 |
commit | 17d7a2893e922171b5cf754f1047be2165401351 (patch) | |
tree | 4d6ca7a5109a0d79ad8da7e603281839a52a16c6 | |
parent | 1b8eb668de489d23912983c7250d4abe44ad7fb5 (diff) | |
download | nextcloud-server-17d7a2893e922171b5cf754f1047be2165401351.tar.gz nextcloud-server-17d7a2893e922171b5cf754f1047be2165401351.zip |
fix browser compatibility issue for element.closest
-rw-r--r-- | core/js/apps.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/apps.js b/core/js/apps.js index ecefa48caa1..71170bbc23a 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 { |