mirror of
https://github.com/mjl-/mox.git
synced 2024-12-27 08:53:48 +03:00
on accounts page, fix opening destination with utf8
by decoding location.hash
This commit is contained in:
parent
8d867490d1
commit
ef8e5fa1a8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue