corn_starch 1.8.8 → 1.8.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0059d98e024bd0487bb415e6d3b92bb4b83c7b80
4
- data.tar.gz: 4a7d40cf8a38034f6d58e580b5bc11a92ba3e765
3
+ metadata.gz: c5c1d5f97f786e53c5b09158784345d9edb1a860
4
+ data.tar.gz: da978a7f4aa300bc8e95d99ca43679b25681ada5
5
5
  SHA512:
6
- metadata.gz: f2a1556da3dd9ce0055eb277c9f01f59b0a8fccb950e04fa1a777ca4255b4871d018182f99d45288e40086253afa347413d1e7beecf54c05ea156baa88384353
7
- data.tar.gz: 5cb3ea6f38badf6ee84330517b26ec4781c3d504d0a38bc44750a365015c9ec583d9429c60af45850b9ff780405a26b3c95665b7ef6fbfc5ee59230bf8744be1
6
+ metadata.gz: b9d676feb3a38dca0fa74aae2d244fb212490479d330181aa3621bed2cca5129867fd2f3a959f4344c39d16ef2b84abc7c3c62a88b63afdfedf156a682d85c3f
7
+ data.tar.gz: 646484a774551b12c3b1b9c55b32ffecaadc8c4fffbbca2569f55038600fad2806cb5c71ecbbc677db60731537e913abc64b25e2a83e1f530711a5beca36e8bc
@@ -17,7 +17,12 @@ window.modal_hide = (modal) ->
17
17
  # Init Modal
18
18
  window.modal_init = (modal) ->
19
19
 
20
- # Wire up Show Button
20
+ # Wire up Quick Hide (Click Outside Modal)
21
+ if $("#modal-#{modal}").length
22
+ $("#modal-#{modal}").click ->
23
+ modal_hide modal
24
+
25
+ # Wire up Show Button
21
26
  if $("#modal-#{modal}-btn-show").length
22
27
  $("#modal-#{modal}-btn-show").click ->
23
28
  modal_show modal
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.8.8'
2
+ VERSION = '1.8.9'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.8
4
+ version: 1.8.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-18 00:00:00.000000000 Z
11
+ date: 2016-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler