forgot string lol

This commit is contained in:
Jacky Zhao 2021-10-24 23:32:55 -07:00
parent 22a9c0ddfc
commit f56642f13c
1 changed files with 1 additions and 1 deletions

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')