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.
- checksums.yaml +4 -4
- data/_includes/js/script.js +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77026d79aa76906f61c71d4bfb5e8b3f8c985baf
|
4
|
+
data.tar.gz: '06870a4bdb10c3d6f8c1dfb78464ccbb502b9401'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63c0d96f4372b02c2c850ab4f25cb45027c8aef108ba042150def5ffe023fb33d98bb633a6f8633e82d1556d85d9adacff306462dfbd90f0701e0e8a0fcc891e
|
7
|
+
data.tar.gz: 7a1b96186f8a5baa46ccea78bd904fe934d743b5dd328284ebffa9c1158fe371ce4647bf8001555681b4c66b19aeda081d1da168183d4d0e13ac136aa746a140
|
data/_includes/js/script.js
CHANGED
@@ -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(
|
83
|
+
return resultHandler.filters.isMatch(
|
84
|
+
searchText.toLowerCase(),
|
85
|
+
item.text.toLowerCase()
|
86
|
+
);
|
85
87
|
});
|
86
88
|
|
87
89
|
resultHandler.setResults(filteredOptions);
|