thin_man 0.8.5 → 0.8.6

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
  SHA1:
3
- metadata.gz: 0acfae1fe913e5c7c201735cd90a400ae88b3f17
4
- data.tar.gz: 97ba139666a3ed708dc7975d8e29bb907bf0f168
3
+ metadata.gz: 4a2e0f7761af8c7e060acbd8c13812f3532cf2a0
4
+ data.tar.gz: 2a01a5ac5bd52c32112568f3fe75efff881ed3e7
5
5
  SHA512:
6
- metadata.gz: c40dde744704ad148ec024241a7fc714a0befe63d96e60cacfb98cd57fc0b0db1194426ec3dead720f90211873c7122f6d327ba1660f31314fd3f409276d4438
7
- data.tar.gz: 6b963872f2c9c64fcae4c72c0b9331e6ebbe6be84d82d57d9b6f52ef081b59909806385dfd32dc45fd45fee4984c58d3184ef22a1b5748ddc781f93511cca1c7
6
+ metadata.gz: 700db7a3a954d489c5be80e33082466e64b53aa9754883c0203e2c40f49d58134eeab57b9db1a7945f0e81020f8aa69f34b97e70b3b53597fa0e0395c8aaf38b
7
+ data.tar.gz: 0c54eb084c020a070b5b3f684e728f62b1f51156764295189e5854ea8c4555a94bae6c6864a233d7895ac19c6ac84033cf11238c3667bbbd0541fc61f905a688
@@ -204,10 +204,10 @@ var initThinMan = function(){
204
204
  }),
205
205
  AjaxProgress: Class.extend({
206
206
  init: function(target,alt,progress_color){
207
- if(target.length == 0){
208
- var progress_target = alt;
209
- } else if(typeof(alt) != 'undefined' && alt.length > 0) {
207
+ if(target.length > 0){
210
208
  var progress_target = target;
209
+ } else if(typeof(alt) != 'undefined') {
210
+ var progress_target = alt;
211
211
  } else {
212
212
  var progress_target = $('body');
213
213
  }
@@ -1,3 +1,3 @@
1
1
  module ThinMan
2
- VERSION = "0.8.5"
2
+ VERSION = "0.8.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thin_man
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut, Adam Bialek