corn_starch 1.8.8 → 1.8.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/corn_starch/modal.js.coffee +6 -1
- data/lib/corn_starch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5c1d5f97f786e53c5b09158784345d9edb1a860
|
4
|
+
data.tar.gz: da978a7f4aa300bc8e95d99ca43679b25681ada5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
data/lib/corn_starch/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|