add basic support for custom emoji
This commit is contained in:
parent
dccfddaec1
commit
d794e88bdc
10 changed files with 163 additions and 12 deletions
|
@ -135,6 +135,7 @@ async function navigateToBranch(fragment) {
|
|||
let [_root, ...path] = fullPath;
|
||||
if (path !== undefined) {
|
||||
let isNotAtIndexHtml = window.location.pathname != "/index.html";
|
||||
let lastBranch = null;
|
||||
for (let linked of path) {
|
||||
let branch = LinkedBranch.byLink.get(linked);
|
||||
|
||||
|
@ -144,7 +145,10 @@ async function navigateToBranch(fragment) {
|
|||
}
|
||||
|
||||
await branch.loadTree("navigateToBranch");
|
||||
branch.details.open = true;
|
||||
lastBranch = branch;
|
||||
}
|
||||
if (lastBranch != null) {
|
||||
expandDetailsRecursively(lastBranch.details);
|
||||
}
|
||||
window.location.hash = window.location.hash;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue