jekyll-theme-scrawl 0.1.8 → 0.1.9

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/_includes/js/script.js +4 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cea122cea660be7a44166ef3a7292451e0c8ce42
4
- data.tar.gz: 1bcf41b2f6c501f3f8a0108f04c2710ee839a993
3
+ metadata.gz: 77026d79aa76906f61c71d4bfb5e8b3f8c985baf
4
+ data.tar.gz: '06870a4bdb10c3d6f8c1dfb78464ccbb502b9401'
5
5
  SHA512:
6
- metadata.gz: c242460e64dd1475bc0552823c3397a979573e1d3d8ad087822382dd0ee9e8269545565f1b4e62a68a1b06ac7badea80fc175dba3a2e1e22d7c302966b0f23bb
7
- data.tar.gz: 526e9d5a01790f1ff407cd93fc44cb565e6cbece0a0f4dc940f7f86349a9cf50ee94382179acc03a3d3266245683661d5bb0b7d393ad7a0ea387848b9036550f
6
+ metadata.gz: 63c0d96f4372b02c2c850ab4f25cb45027c8aef108ba042150def5ffe023fb33d98bb633a6f8633e82d1556d85d9adacff306462dfbd90f0701e0e8a0fcc891e
7
+ data.tar.gz: 7a1b96186f8a5baa46ccea78bd904fe934d743b5dd328284ebffa9c1158fe371ce4647bf8001555681b4c66b19aeda081d1da168183d4d0e13ac136aa746a140
@@ -1,5 +1,4 @@
1
1
  $(document).ready(function () {
2
- anchors.options.visible = 'touch';
3
2
  anchors.add('section h2[id], section h3[id], section h4[id], section h5[id], section h6[id]');
4
3
 
5
4
  $('toc', 'body').html(function () {
@@ -81,7 +80,10 @@ $(document).ready(function () {
81
80
  });
82
81
  })
83
82
  var filteredOptions = options.filter(function(item) {
84
- return resultHandler.filters.isMatch(searchText, item.text);
83
+ return resultHandler.filters.isMatch(
84
+ searchText.toLowerCase(),
85
+ item.text.toLowerCase()
86
+ );
85
87
  });
86
88
 
87
89
  resultHandler.setResults(filteredOptions);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-scrawl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Light