mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
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…
x
Reference in New Issue
Block a user