thin_man 0.20.8 → 0.20.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/thin_man.js +11 -7
- data/lib/thin_man/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: d8ca33003f888522689fdbfdfc902fed5b4114859b6d98ce76773bacf8faf04f
|
4
|
+
data.tar.gz: 4dd70a0f47da6afbdacb1d1a55b8fc16d635e587e1ed94d3eea4ae4b9ac018ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee68fc3fa700c2e87fc2596bdaec83ea214d37158a6090b0997c423b4dbc4ca4ab8bc19e81d14cc1af7d547db18904d1f084e952c2d8d5ed7b0d93ad76cd2942
|
7
|
+
data.tar.gz: 7d2c7773dab63e96e292f41709cf83d0e788225bae320051e98904b5dc0a5766e70d145e4e6ab6d1bd646f2c87e6b8e82f8cbc7fc8bb13768d1899e1306f2ec2
|
@@ -546,13 +546,16 @@ var initThinMan = function() {
|
|
546
546
|
this.$mask.show()
|
547
547
|
},
|
548
548
|
disableScroll: function(){
|
549
|
-
if(
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
549
|
+
if(!thin_man.scroll_disabled){
|
550
|
+
thin_man.scroll_disabled = true
|
551
|
+
if($(window).width() >= 640){
|
552
|
+
var mask = this
|
553
|
+
mask.old_height = $('body')[0].style.height
|
554
|
+
mask.old_overflow = $('body')[0].style.overflow
|
555
|
+
$('body').css({height: '100%',overflow: 'hidden'})
|
556
|
+
} else {
|
557
|
+
$('body').children().not('.ajax-mask-public').hide()
|
558
|
+
}
|
556
559
|
}
|
557
560
|
},
|
558
561
|
enableScroll: function(){
|
@@ -561,6 +564,7 @@ var initThinMan = function() {
|
|
561
564
|
} else {
|
562
565
|
$('body').children().not('#ajax-mask-public').show()
|
563
566
|
}
|
567
|
+
delete thin_man.scroll_disabled
|
564
568
|
},
|
565
569
|
remove: function() {
|
566
570
|
this.enableScroll()
|
data/lib/thin_man/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thin_man
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.
|
4
|
+
version: 0.20.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Draut, Adam Bialek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|