dlegr250_material_design 0.5.39 → 0.5.40

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: c82db341cb3c648b7de75e17683fdad228260317
4
- data.tar.gz: e5de39ffeeb1af1973c82d9b57e73ecc26e8128d
3
+ metadata.gz: 10e8ab994b7f2765a67159a03d23034978f2d4a9
4
+ data.tar.gz: 8e7e9f12485b1fed93c4954b3545e88706011f3c
5
5
  SHA512:
6
- metadata.gz: 687962e93f28085e86051e62660f8c484a139223851aa2d5bd728448de3d21e22c5c348a0b4b14e4bf47aae38c17f53cb8d6e4d15e021e79f46f2b7d283be0db
7
- data.tar.gz: e10f0e9f5d86a057b5f18a1883f805b71e6e410ff30ae28142dd27e9a85feeadb33cea50e7c33195f9c708e56297ea9fbcbeeb62e6258fde2a555d42ed3f6f1e
6
+ metadata.gz: baf88122694d517a6f0ead5e69c3870213cd38305e664ce3870e110da266501baf39c45834b5ea3a9baca7468bffc9c13dc6d125360dce64ad118bc14a0bf6f2
7
+ data.tar.gz: 5b7368561e812814635313035023986d9caa8d16ef5a857c675de66025c1c67145bf20f67a95f4cc65d005c09575ab0fd444d808e6b8385100c90915a8c8a17e
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.5.39"
2
+ VERSION = "0.5.40"
3
3
  end
@@ -10,9 +10,10 @@ class App.MD.TogglePanels
10
10
 
11
11
  @setEvents: () ->
12
12
  $("body").on "click", ".toggle-panel-summary", (event) =>
13
- # $(event.target).closest(".toggle-panel").toggleClass("open")
13
+ $container = $(event.target).closest(".toggle-panels-container")
14
14
  $panel = $(event.target).closest(".toggle-panel")
15
+
15
16
  if $panel.attr("data-expanded") == "true"
16
- $panel.attr("data-expanded", "false")
17
+ $container.find(".toggle-panel").attr("data-expanded", "false")
17
18
  else
18
19
  $panel.attr("data-expanded", "true")
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.5.39
4
+ version: 0.5.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel LeGrand
@@ -38,7 +38,6 @@ files:
38
38
  - lib/dlegr250_material_design/version.rb
39
39
  - vendor/assets/javascripts/base/init.js.coffee
40
40
  - vendor/assets/javascripts/components/dialog.coffee
41
- - vendor/assets/javascripts/components/expansion_panels.coffee
42
41
  - vendor/assets/javascripts/components/forms.coffee
43
42
  - vendor/assets/javascripts/components/input_masks.coffee
44
43
  - vendor/assets/javascripts/components/layout.coffee
@@ -46,6 +45,7 @@ files:
46
45
  - vendor/assets/javascripts/components/scroll_scope.coffee
47
46
  - vendor/assets/javascripts/components/snackbar.coffee
48
47
  - vendor/assets/javascripts/components/tabs.coffee
48
+ - vendor/assets/javascripts/components/toggle_panels.coffee
49
49
  - vendor/assets/javascripts/components/toggles.coffee
50
50
  - vendor/assets/javascripts/components/utility.coffee
51
51
  - vendor/assets/javascripts/dlegr250_material_design.js