feature: favicon
fix: partial attempt to clean up room loading
This commit is contained in:
parent
5d244f65c7
commit
be84aef1e0
10 changed files with 25 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
|||
window.addEventListener("locationchange", () => {
|
||||
const hash = window.location.hash?.slice(1);
|
||||
if (hash) {
|
||||
const target_tab_url = hash.slice(0, hash.slice(1).indexOf("/"));
|
||||
const target_tab_url = hash.slice(0, hash.slice(1).indexOf("/") + 1);
|
||||
const target_tab = document.querySelector(`[data-hash="${target_tab_url}"]`);
|
||||
console.dir({
|
||||
hash,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue