forgot string lol

hugo
Jacky Zhao 3 years ago
parent 22a9c0ddfc
commit f56642f13c

@ -127,7 +127,7 @@
} }
const redir = (id, term) => { 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') const source = document.getElementById('search-bar')

Loading…
Cancel
Save