Skip to content

Commit

Permalink
modify title
Browse files Browse the repository at this point in the history
  • Loading branch information
jbms committed Feb 22, 2024
1 parent 0696318 commit 2383b36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/title.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export function bindTitle(title: WatchableValueInterface<string | undefined>) {
const debouncedSetTitle = animationFrameDebounce(() => {
const value = title.value?.trim();
if (value) {
document.title = `${value} - neuroglancer`;
document.title = `${value} - neuroglancer xx`;
} else {
document.title = "neuroglancer";
document.title = "neuroglancer xx";
}
});
const unregisterSignalHandler = title.changed.add(debouncedSetTitle);
Expand Down

0 comments on commit 2383b36

Please sign in to comment.