fix: add baseUrl to lunr suggestions href

This commit is contained in:
Leclerc Gwendal 2016-10-26 11:09:28 +02:00
parent a74c02dab3
commit 656a8b391f

View file

@ -69,7 +69,7 @@ $( document ).ready(function() {
indexOfIndex = uri.length;
}
var href = uri.substring(uri.indexOf("/"), indexOfIndex);
suggestion.href = href;
suggestion.href = baseurl + href;
var query = $("#search-by").val();