fix: href

This commit is contained in:
Ferdinand Mütsch 2022-03-02 08:51:27 +01:00
parent 42808fa38a
commit d4b15e7959
1 changed files with 1 additions and 1 deletions

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'