jumbo-jekyll-theme 1.6.6 → 1.6.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/assets/js/vendor/lightbox.js +5 -16
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 92741ae5d730e5205be71bf6286957936b2cf453
4
- data.tar.gz: aa97fdcb0051d0778ba3936a45917eba260ea11b
3
+ metadata.gz: cab8784fc339699da13091d8fb174ca44f48e0e8
4
+ data.tar.gz: 0effba100645e768ecded5a2ecf8351d4a6d0e52
5
5
  SHA512:
6
- metadata.gz: ce551bc864fdbd43ea8a799070fe70168c8969739ece1533338527e1e04efbc4b3f2d2fb92b9e27c924d00444c2786c0cb7ec6e1e51876a517ed103edfc173dd
7
- data.tar.gz: e7ba8132d6201dbbab916337155059108255d7d447dd60cca6a13517590aa0b01fa7ef6a3d789c94909bb299bf049b8eeda34acdb83822a92b03cb1066473375
6
+ metadata.gz: '0899b6c1ca51c33a9abffaedc527b5ed23597e93bded6e7acd0f9629cd830b7d557a42fc6782f6b5fe5f3ae695a52296f09c6597c94ed87391ec2b9664974244'
7
+ data.tar.gz: 69e8da84bde5cc45e15231d312ca558f52c5e48b053e90ed5644d8fba594f2243846e995593a2fd6deb1968ff24f31b9d4143e1673f4bc759c4223bb7effaa44
@@ -512,23 +512,12 @@
512
512
 
513
513
 
514
514
  $(document).ready(function(){
515
-
516
- function defer(method) {
517
- if (window.jQuery) {
518
- method();
519
- } else {
520
- setTimeout(function() { defer(method) }, 50);
521
- }
522
- }
523
515
 
524
- defer(function () {
525
- if (typeof lightbox.onChange === "function") {
526
- lightbox.option({
527
- 'disableScrolling': true,
528
- 'albumLabel': ''
529
- });
516
+ if ($("[data-lightbox]")) {
517
+ lightbox.option({
518
+ 'disableScrolling': true,
519
+ 'albumLabel': ''
520
+ });
530
521
  }
531
-
532
- });
533
522
 
534
523
  });
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumbo-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.6
4
+ version: 1.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby