1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2025-07-22 06:11:23 +00:00

Add prefetch to graph

This commit is contained in:
Aiden Bai
2022-05-27 08:40:00 -07:00
parent bd316d8249
commit efb6c7845f
3 changed files with 87 additions and 122 deletions

View File

@@ -153,7 +153,7 @@ const highlight = (content, term) => {
const redir = (id, term) => {
// SPA navigation
window.navigate(
window.Million.navigate(
new URL(
`${BASE_URL.replace(/\/$/g, "")}${id}#:~:text=${encodeURIComponent(term)}/`
),