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

fix: wrong key

This commit is contained in:
daief 2022-03-02 22:29:09 +08:00 committed by GitHub
parent 23d00d574b
commit 932ba111cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,7 +133,7 @@ function draw(subselection) {
const idx = data[0].index
const name = wakapiData.projects[idx].key
const url = new URL(window.location.href)
url.searchParams.set('query', name)
url.searchParams.set('project', name)
window.location.href = url.href
},
onHover: (event, elem) => {