dlegr250_material_design 0.4.89 → 0.4.90
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e279a7f0da68894aeebc152eea0193c102755e5
|
4
|
+
data.tar.gz: de9172c789ddf2c8a78a798b93bdec5fa58dadae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97726c10a4c75472cee053d2bb4b296e95d04eb44082a04376f752e735312e48bba928c97c8387e476cce1ab52dbf779fa89e4cabf095ba7966c85665d6ac07d
|
7
|
+
data.tar.gz: 702d8784983a7042a4195c7e3f57bee84d4413be91f954c790cbb1d0ee0ffb4a6f7c287623ad42ed4b0e4e235165f8ed2deca98fcbb73e6ed36d3abe5a67a8f4
|
@@ -11,7 +11,11 @@ class App.MD.Menus
|
|
11
11
|
@setEvents: () ->
|
12
12
|
$("body").on "click", "[role='menu-trigger']", (event) =>
|
13
13
|
@.hideMenus()
|
14
|
-
$trigger = $(event.target)
|
14
|
+
# $trigger = $(event.target)
|
15
|
+
if $(event.target).get(0).hasAttribute("data-menu-id")
|
16
|
+
$trigger = $(event.target)
|
17
|
+
else
|
18
|
+
$trigger = $(event.target).parents("[role='menu-trigger']")
|
15
19
|
|
16
20
|
# Assume menu comes right after target if not specified
|
17
21
|
if $trigger.data("menu-id")
|