mirror of https://github.com/muety/wakapi.git
fix: href
This commit is contained in:
parent
42808fa38a
commit
d4b15e7959
|
@ -134,7 +134,7 @@ function draw(subselection) {
|
||||||
const name = wakapiData.projects[idx].key
|
const name = wakapiData.projects[idx].key
|
||||||
const url = new URL(window.location.href)
|
const url = new URL(window.location.href)
|
||||||
url.searchParams.set('query', name)
|
url.searchParams.set('query', name)
|
||||||
window.location.href = a.href
|
window.location.href = url.href
|
||||||
},
|
},
|
||||||
onHover: (event, elem) => {
|
onHover: (event, elem) => {
|
||||||
event.native.target.style.cursor = elem[0] ? 'pointer' : 'default'
|
event.native.target.style.cursor = elem[0] ? 'pointer' : 'default'
|
||||||
|
|
Loading…
Reference in New Issue