ssb: Handle the inevitable %25 in a document hash better?
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 16m14s

This commit is contained in:
2024-11-09 18:04:58 -05:00
parent 0b46efe4ea
commit 09ae4e2096
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ class TfElement extends LitElement {
}
set_hash(hash) {
this.hash = hash || '#';
this.hash = decodeURIComponent(hash || '#');
if (this.hash.startsWith('#q=')) {
this.tab = 'search';
} else if (this.hash === '#connections') {