on accounts page, fix opening destination with utf8

by decoding location.hash
This commit is contained in:
Mechiel Lukkien 2023-02-16 10:26:28 +01:00
parent 8d867490d1
commit ef8e5fa1a8
No known key found for this signature in database

View file

@ -614,7 +614,7 @@ const init = async () => {
if (curhash === window.location.hash) { if (curhash === window.location.hash) {
return return
} }
let h = window.location.hash let h = decodeURIComponent(window.location.hash)
if (h !== '' && h.substring(0, 1) == '#') { if (h !== '' && h.substring(0, 1) == '#') {
h = h.substring(1) h = h.substring(1)
} }