slick_rails 1.5.6 → 1.5.8

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: dcd63b13726ca056a0724404b522a82618e15da3
4
- data.tar.gz: 1668a4ad70cf385c9e2d12c29fe3d7fed4171f27
3
+ metadata.gz: afc8e0f2cb2ca2b065ff9f0848b4948b18149e78
4
+ data.tar.gz: e4f257d61d7a84327345e3a47198096dcca3f909
5
5
  SHA512:
6
- metadata.gz: 84f0de99374e59fd5527252fa199f03ecd556d1a0e42afb5d41594d5f00ee78feda8af28669aad44465d4b1e03bb8d4e2abe664e9573914c2dc8fe196d5051e0
7
- data.tar.gz: d14f0a36af2237059f98e26372ba30376eba3e469b75b60a595635f32431a2c2533563a0a2d254f54fedccc10b0d8f0862e9683a9586dae2430a0886bfc1f714
6
+ metadata.gz: d1636dce441c8afa9c1a8519f90d2aebf8c7c68f2b7c2626d86e2246323c28f5e550e3c15f42b87712af221be17ea97d6fdb4b078aa7b2b6f3c6243d2a76e72f
7
+ data.tar.gz: 8c7a0f3aa21f5cb2e4b4767b67f1b72e1a5ae0e2d3e6068b77047a5fdfa2b003548ea7fa8ff4b4174558f8c332d65fec34e4c60edb6f8490f818d02f2fff19d1
@@ -6,7 +6,7 @@
6
6
  |___/_|_|\___|_|\_(_)/ |___/
7
7
  |__/
8
8
 
9
- Version: 1.5.6
9
+ Version: 1.5.8
10
10
  Author: Ken Wheeler
11
11
  Website: http://kenwheeler.github.io
12
12
  Docs: http://kenwheeler.github.io/slick
@@ -827,7 +827,8 @@
827
827
  _.$dots.remove();
828
828
  }
829
829
 
830
- if ( _.$prevArrow.length ) {
830
+
831
+ if ( _.$prevArrow && _.$prevArrow.length ) {
831
832
 
832
833
  _.$prevArrow
833
834
  .removeClass('slick-disabled slick-arrow slick-hidden')
@@ -839,7 +840,7 @@
839
840
  }
840
841
  }
841
842
 
842
- if ( _.$nextArrow.length ) {
843
+ if ( _.$nextArrow && _.$nextArrow.length ) {
843
844
 
844
845
  _.$nextArrow
845
846
  .removeClass('slick-disabled slick-arrow slick-hidden')
@@ -849,8 +850,10 @@
849
850
  if ( _.htmlExpr.test( _.options.nextArrow )) {
850
851
  _.$nextArrow.remove();
851
852
  }
853
+
852
854
  }
853
855
 
856
+
854
857
  if (_.$slides) {
855
858
 
856
859
  _.$slides
@@ -1478,8 +1481,8 @@
1478
1481
 
1479
1482
  };
1480
1483
 
1481
- Slick.prototype.preventDefault = function(e) {
1482
- e.preventDefault();
1484
+ Slick.prototype.preventDefault = function(event) {
1485
+ event.preventDefault();
1483
1486
  };
1484
1487
 
1485
1488
  Slick.prototype.progressiveLazyLoad = function() {
@@ -1,3 +1,3 @@
1
1
  module SlickRails
2
- VERSION = "1.5.6"
2
+ VERSION = "1.5.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slick_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.6
4
+ version: 1.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Israeli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-11 00:00:00.000000000 Z
11
+ date: 2015-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler