corn_starch 1.8.10 → 1.8.11

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: dbd8ec7bfd8dbcf8d064078d7e3ee3796887583b
4
- data.tar.gz: 38556c0981ce27e7edf4b231136bfe70b329518d
3
+ metadata.gz: 5a950fe099ba21dfe515221c13015f8f5acac057
4
+ data.tar.gz: 4307fd86c58881bb1d602a0ddef8f2d50f20ae43
5
5
  SHA512:
6
- metadata.gz: b56549ff54e78b7a0a82d42fcd381318689bdafedcb46107dcc499bbeaa2cac1dab981f90424e3a0b0abe7eb92c5a20ba89848c3476a377ee81807afe2390fdd
7
- data.tar.gz: 74db7758d430f444251dbb06133a84af4694512025a90d98257df23db90df7ff60bf8d317872ebbedf1b26c1cfba8090b53cb145da8c2d512a0597bc24112029
6
+ metadata.gz: 1bf42a07e88669393b44e7acc915cd735e909bcedeadee282661e2c31cf9b8c38475ebc98be256b029be67f36b5813ee3a4ec761c36aec6d87c84acfee403930
7
+ data.tar.gz: bb52331704ae3862d3f938e2d251968828732cd1ef3c87d04421f880a924a6523f45cffab30e015f1d06b27f8f70efdf9e8120f0225477e4869cee93ad773cd9
@@ -20,8 +20,7 @@ window.modal_init = (modal) ->
20
20
  # Wire up Quick Hide (Click Outside Modal)
21
21
  if $("#modal-#{modal}").length
22
22
  $("#modal-#{modal}").click (e) ->
23
- alert(e.target.id)
24
- modal_hide modal
23
+ modal_hide modal if e.target.id == "modal-#{modal}"
25
24
 
26
25
  # Wire up Show Button
27
26
  if $("#modal-#{modal}-btn-show").length
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.8.10'
2
+ VERSION = '1.8.11'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.10
4
+ version: 1.8.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse