1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-06-30 21:52:05 +02:00

I love when people just change their function names, fix search

This commit is contained in:
Matthias Kretschmann 2014-04-12 17:22:02 +02:00
parent 3ed018d959
commit 4b53e1d60b
2 changed files with 8 additions and 7 deletions

View File

@ -27,10 +27,11 @@ var siteNavigation = {
e.preventDefault();
// init jekyll search
$searchfield.simpleJekyllSearch({
searchResults : '.search-results',
$searchfield.jekyllSearch({
searchResults : $searchresults,
searchResultsTitle : '',
template : '<a class="nav-link" href="{url}" title="{title}">{title}</a>',
fuzzy : true
});
// show search

View File

@ -14,7 +14,7 @@
"masonry": "http://masonry.desandro.com/masonry.pkgd.min.js",
"imagesloaded": ">=3.1.0",
"infinitescroll": "https://raw.github.com/paulirish/infinite-scroll/master/jquery.infinitescroll.js",
"simpleJekyllSearch": "https://raw.github.com/christian-fei/Simple-Jekyll-Search/master/jekyll-search.js",
"simpleJekyllSearch": "https://raw.github.com/christian-fei/Simple-Jekyll-Search/master/jekyll-search.jquery.js",
"socialite": "https://raw.github.com/tmort/Socialite/master/socialite.js",
"jquery.adaptive-background": "https://raw.github.com/briangonzalez/jquery.adaptive-backgrounds.js/master/src/jquery.adaptive-backgrounds.js"
},