mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-10-09 10:11:14 +00:00
Use absolute URLs #26
This commit is contained in:
parent
e9e49d53d1
commit
acf8d53cdd
10 changed files with 11 additions and 14 deletions
|
@ -66,7 +66,6 @@ const initLunr = () => {
|
|||
$.getJSON('index.json').done((index) => {
|
||||
pagesIndex = index
|
||||
lunrIndex = lunr(builder => {
|
||||
console.log(builder)
|
||||
builder.tokenizer = bigramTokeniser
|
||||
builder.pipeline.reset()
|
||||
builder.ref('ref')
|
||||
|
@ -114,10 +113,10 @@ const initUI = () => {
|
|||
|
||||
// Icon switching
|
||||
if (query.length) {
|
||||
$('#searchBoxIcon').attr('src', '/img/clear.png')
|
||||
$('#searchBoxIcon').attr('src', '../img/clear.png')
|
||||
$('#searchBoxIcon').css('cursor', 'pointer')
|
||||
} else {
|
||||
$('#searchBoxIcon').attr('src', '/img/search.png')
|
||||
$('#searchBoxIcon').attr('src', '../img/search.png')
|
||||
$('#searchBoxIcon').css('cursor', 'default')
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue