forgot string lol

This commit is contained in:
Jacky Zhao 2021-10-24 23:32:55 -07:00
parent 22a9c0ddfc
commit f56642f13c

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