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: c3e9c3cf7fe4851b438e277de23fe9a682a7fca9
4
- data.tar.gz: ae1588c9fea98620b61079ff845faf8de1bc3917
3
+ metadata.gz: 9e279a7f0da68894aeebc152eea0193c102755e5
4
+ data.tar.gz: de9172c789ddf2c8a78a798b93bdec5fa58dadae
5
5
  SHA512:
6
- metadata.gz: 3a349868c3361af1da79c2629c0fb21a1fbbfaa446bb4485a3eee6f1b3275b9c2312537892cb79c3ab592e836d29569f8a87e6fe61eac76732d85eb587d137f6
7
- data.tar.gz: d705b2cbd5a605120e34fb201c635a2b390f99b68a97f69014db2c59fddca0807f488c9991b0e64316a50bbf59761125e4feefcf60898cedc2aa2b7f9c5651f0
6
+ metadata.gz: 97726c10a4c75472cee053d2bb4b296e95d04eb44082a04376f752e735312e48bba928c97c8387e476cce1ab52dbf779fa89e4cabf095ba7966c85665d6ac07d
7
+ data.tar.gz: 702d8784983a7042a4195c7e3f57bee84d4413be91f954c790cbb1d0ee0ffb4a6f7c287623ad42ed4b0e4e235165f8ed2deca98fcbb73e6ed36d3abe5a67a8f4
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.4.89"
2
+ VERSION = "0.4.90"
3
3
  end
@@ -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")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlegr250_material_design
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.89
4
+ version: 0.4.90
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel LeGrand