blacklight-gallery 0.8.0 → 0.9.0

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: 7b4fda01380884b93d14ce8d3bbf36132b82b3ec
4
- data.tar.gz: e74c17bc14f0723b121095d0f0b706c3f8d4913a
3
+ metadata.gz: 2aac28ddab2564fe87ed5bb9e6e8d54cc9d93cfa
4
+ data.tar.gz: 146f2a0160e1dd50258fdc4cfcdd646dc10570b3
5
5
  SHA512:
6
- metadata.gz: 7ec1c482d1b18ddbe9c5058098d8b7c38bb9899e2f000ccbd1c26526c33e5053ea4148501d677b65837b4a2c90a11934c23f061c600cb7cb177f5d7fda86484c
7
- data.tar.gz: 4b31cff43f788b527ba4b11c53300588da6a88b711ebb165981c0b9ec3331ab1856c0e5c135f3c146427894c222ca8c9a5b27dcd8fde5bfc3a14e13825eea204
6
+ metadata.gz: 182686d50e11db32d9edaf14bf2bdd77afac8f345d2d6fa7cdde58562ba9624ad548f50975ac59fab32380ddfffbb233d176350e0693e1d3d5b92da79ff8f365
7
+ data.tar.gz: c87348a2e08710ed53513350afa00bfeb56026a24a3d9ae7d624b740c1c47e07c5d61a2a7ce0e5144933c255aa27d5ee4dad0e6927e4b5b8b28924ed1ad1c3ca
@@ -80,7 +80,10 @@
80
80
  if (_this.options.autoPlay) _this.play();
81
81
  });
82
82
 
83
- $(document).on('click', '[data-slide], [data-slide-to]', function() {
83
+ $(document).on('click', '[data-slide], [data-slide-to]', function(e) {
84
+
85
+ e.preventDefault();
86
+
84
87
  pos = parseInt($(this).attr('data-slide-to'), 10) || $(this).attr('data-slide');
85
88
 
86
89
  if (pos === 'next' || pos === 'prev') _this.pause();
@@ -1,5 +1,5 @@
1
1
  module Blacklight
2
2
  module Gallery
3
- VERSION = "0.8.0"
3
+ VERSION = "0.9.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-gallery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-07 00:00:00.000000000 Z
11
+ date: 2017-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -316,7 +316,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
316
316
  version: '0'
317
317
  requirements: []
318
318
  rubyforge_project:
319
- rubygems_version: 2.5.2
319
+ rubygems_version: 2.6.14
320
320
  signing_key:
321
321
  specification_version: 4
322
322
  summary: Gallery display for Blacklight