forgot string lol

This commit is contained in:
Jacky Zhao 2021-10-24 23:32:55 -07:00
parent 8e27c78c1f
commit afaf25ba45

View File

@ -127,7 +127,7 @@
}
const redir = (id, term) => {
window.location.href = {{.Site.BaseURL}} + `${id}#:~:text=${encodeURIComponent(term)}`
window.location.href = "{{.Site.BaseURL}}" + `${id}#:~:text=${encodeURIComponent(term)}`
}
const source = document.getElementById('search-bar')