thin_man 0.19.8 → 0.19.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 563f770524ce3f254803837c23d1d465ac972a78
4
- data.tar.gz: a711ccb1edec8005bdb242bf0a405232c402854d
3
+ metadata.gz: de556dafc134f9079401c41d5dfac1ded9d3b598
4
+ data.tar.gz: d59ba43df2af1e5df3d42c3c59eb695bdba9819b
5
5
  SHA512:
6
- metadata.gz: e2ab1a98fb597a8cd3e9e5319740631e2490fb48cd22b7a6cedb852778117997d8cb172f188faa5707e0cd84148de49b541ff196b52511aaf523ac12855d8c52
7
- data.tar.gz: d16cc5458789b29e93ab7e59bdad599cbde78651b1ce5d806d133c75c87361c35dfd9f6f698065a0f127fc8d588bfb986194d7f640b5655074a282937182d656
6
+ metadata.gz: 34282de26e8b2de8e16ede649e948bc3109c856b479ff6267c72abdc45408541ccf72c2c5c480736ce3672ebdd51651162a301c3d37ed004dc196ad4c4bd8b14
7
+ data.tar.gz: f6b8adaaaa8fd19856bb0426b5f449d2b8c992730a6ff1b7b2e284f29e0e19420ef97a16221fb36e07477ab639933ebb837c5093aadade3d57f7359d37104e54
@@ -179,7 +179,7 @@ var initThinMan = function(){
179
179
  });
180
180
  }
181
181
  if(this.scroll_to){
182
- if(this.target.not(':visible')){
182
+ if(this.target.is(':hidden')){
183
183
  if(this.target.parents('[data-tab-id]').length > 0){
184
184
  this.target.parents('[data-tab-id]').each(function(){
185
185
  var tab_key = $(this).data('tab-id')
@@ -408,7 +408,7 @@ var initThinMan = function(){
408
408
  this.progress_target = target;
409
409
  } else if(typeof(alt) != 'undefined' && alt.is(':visible')) {
410
410
  this.progress_target = alt;
411
- } else if(target.not(':visible')){
411
+ } else if(target.length > 0 && target.is(':hidden')){
412
412
  this.progress_target = $('')
413
413
  } else {
414
414
  this.progress_target = $('body');
@@ -1,3 +1,3 @@
1
1
  module ThinMan
2
- VERSION = "0.19.8"
2
+ VERSION = "0.19.9"
3
3
  end
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.19.8
4
+ version: 0.19.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: 2018-02-23 00:00:00.000000000 Z
11
+ date: 2018-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails