add toLowerCase to id
This commit is contained in:
parent
c6412ea6e4
commit
b5643bf747
@ -145,7 +145,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const redir = (id, term) => {
|
const redir = (id, term) => {
|
||||||
window.location.href = "{{.Site.BaseURL}}" + `${id}#:~:text=${encodeURIComponent(term)}`
|
window.location.href = "{{.Site.BaseURL}}" + `${id.toLowerCase()}#:~:text=${encodeURIComponent(term)}`
|
||||||
}
|
}
|
||||||
|
|
||||||
const fetch = id => ({
|
const fetch = id => ({
|
||||||
|
Loading…
Reference in New Issue
Block a user