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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e29a1b11fb3e411ef0f0c683064d85bdc73869903eb8146613f17136197c5640
4
- data.tar.gz: 4bf57494571be33284cb34c24a610b5a423104ccc0fec7918abe0a7106891bab
3
+ metadata.gz: 3319e9477cb24348cf9f165517757b0d1e734199ad7b0e0f88885932cccd0198
4
+ data.tar.gz: fa60abe04baa5055e0785c641a31db7e07b31f83f5cf090b8ebffdba40718a31
5
5
  SHA512:
6
- metadata.gz: b9840ba6f6c1f2c62be41c57cccbcfe17831df45ccdc362a814996e141ba576e4ca3a033b6ad18e31a14821ec803b791ff9ec1cbae7ae1d812b0a62bad7b50e5
7
- data.tar.gz: 996912c732822688cc20256d2979ac93e9b33c07b2689dd6b87fc91d58c59b6c0444b4cc407c3dbb1fa20349243f50c1fb72d30009489d0d2061409ee52affee
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
- $('body').css({height: this.old_height, overflow: this.old_overflow})
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(){
@@ -1,3 +1,3 @@
1
1
  module Hooch
2
- VERSION = "0.16.8"
2
+ VERSION = "0.16.9"
3
3
  end
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.8
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-14 00:00:00.000000000 Z
11
+ date: 2018-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails