hooch 0.16.8 → 0.16.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/hooch.js +7 -1
- data/lib/hooch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3319e9477cb24348cf9f165517757b0d1e734199ad7b0e0f88885932cccd0198
|
4
|
+
data.tar.gz: fa60abe04baa5055e0785c641a31db7e07b31f83f5cf090b8ebffdba40718a31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22a218f7c0d937b275118a899d6d4e65e35a75993344f4c286781a01348d7047f6241c3872ae489d6866a8705715141339912243f2856b02a57825aaaa7f0d93
|
7
|
+
data.tar.gz: 83ab2d8c78ca7ccc3bd24f90afbc4a014938b62451438dc2b33b1deb1baee17ac2dbfd8eea152b0987d5f5c4479e3b1d3828bd69161c687dad19a12122552440
|
@@ -273,10 +273,16 @@ var initHooch = function(){
|
|
273
273
|
modal.old_height = $('body')[0].style.height
|
274
274
|
modal.old_overflow = $('body')[0].style.overflow
|
275
275
|
$('body').css({height: '100%',overflow: 'hidden'})
|
276
|
+
} else {
|
277
|
+
$('body').children().not('#hooch-mask').hide()
|
276
278
|
}
|
277
279
|
},
|
278
280
|
enableScroll: function(){
|
279
|
-
$(
|
281
|
+
if($(window).width() >= 640){
|
282
|
+
$('body').css({height: this.old_height, overflow: this.old_overflow})
|
283
|
+
} else {
|
284
|
+
$('body').children().not('#hooch-mask').show()
|
285
|
+
}
|
280
286
|
}
|
281
287
|
}),
|
282
288
|
closeModal: function(){
|
data/lib/hooch/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hooch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.16.
|
4
|
+
version: 0.16.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Draut
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|