jumbo-jekyll-theme 1.6.4 → 1.6.5

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/assets/js/vendor/lightbox.js +19 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f232cc9ba5925d8d931b423dd01b866c7ec83604
4
- data.tar.gz: bc7c6af7746f02e537a2e6c3739290bde7694eed
3
+ metadata.gz: e59504109dd2677775eb3de486b6d6897c9def35
4
+ data.tar.gz: 99babe26accdcdf3b0f2f84ed7ea43265f2f3f0b
5
5
  SHA512:
6
- metadata.gz: 290e358bef30dce4fe9abe48bc59b199f610d9d4845c26e9e248306cd7dc7db79fef6b842283e36856b5e6c22d2355bfd8a04e7ddd33fd9f60c210097a2bbe9d
7
- data.tar.gz: 7573cabfc430a769f954435b5765fbcede91de892a3867b860b13301b3b6a90646f13ade473f9e2933586dfa8527a47a1ac5f7b682bee5da65a3a13b39a54cff
6
+ metadata.gz: f97fb8fe1b0bd6e14a0bce3a4028e7c3601780f76b03de0332cd6e0e6d872a16603ac0caa23183f02163bde18f43f73ae29562780cd6f2d12cd44be84ab355a4
7
+ data.tar.gz: 4a8fe9ec9f6e258e7071fad6b8becb13bb88c3f97f9d1a1d09e38e84587248b159666f2238ef0397ec9fb68f092cf5e3829e0b7e4774d70458eae0ee6e1b89e8
@@ -512,8 +512,23 @@
512
512
 
513
513
 
514
514
  $(document).ready(function(){
515
- lightbox.option({
516
- 'disableScrolling': true,
517
- 'albumLabel': ''
518
- })
515
+
516
+ function defer(method) {
517
+ if (window.jQuery) {
518
+ method();
519
+ } else {
520
+ setTimeout(function() { defer(method) }, 50);
521
+ }
522
+ }
523
+
524
+ defer(function () {
525
+ if (typeof me.onChange === "function") {
526
+ lightbox.option({
527
+ 'disableScrolling': true,
528
+ 'albumLabel': ''
529
+ });
530
+ }
531
+
532
+ });
533
+
519
534
  });
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.4
4
+ version: 1.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby