1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix: href

This commit is contained in:
Ferdinand Mütsch 2022-03-02 08:51:27 +01:00
parent 42808fa38a
commit d4b15e7959

View File

@ -134,7 +134,7 @@ function draw(subselection) {
const name = wakapiData.projects[idx].key
const url = new URL(window.location.href)
url.searchParams.set('query', name)
window.location.href = a.href
window.location.href = url.href
},
onHover: (event, elem) => {
event.native.target.style.cursor = elem[0] ? 'pointer' : 'default'