hooch 0.16.6 → 0.16.7
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 +6 -4
- 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: eb4bea1e2538b99092bc8fd23bb46ec378702c6ba723ff477756935fd586458f
|
4
|
+
data.tar.gz: dd9c3066e2039d832789abe7d9e76c12fdfbb6b80125f7dfae4fea1131251754
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 044b0baa1fb876d06b72f089a87cf51ba5c22807ff8bb847178259aee53a0bad1dfbbee2d126cee63fc93cf6bbca2e4add560c5e3a4443e3a7dac132ecb85228
|
7
|
+
data.tar.gz: c991ebffe87a91ce8dd45066c1ad9de99562731a87c61815c008fa7459f535303630eb0ff4c94d6730971990886abc87d702f0aa6db878e631c2cb103181c526
|
@@ -268,10 +268,12 @@ var initHooch = function(){
|
|
268
268
|
this.$modal_wrapper.trigger('modalClosed')
|
269
269
|
},
|
270
270
|
disableScroll: function(){
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
271
|
+
if($(window).width() >= 640){
|
272
|
+
var modal = this
|
273
|
+
modal.old_height = $('body')[0].style.height
|
274
|
+
modal.old_overflow = $('body')[0].style.overflow
|
275
|
+
$('body').css({height: '100%',overflow: 'hidden'})
|
276
|
+
}
|
275
277
|
},
|
276
278
|
enableScroll: function(){
|
277
279
|
$('body').css({height: this.old_height, overflow: this.old_overflow})
|
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.7
|
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-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|