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 ff9f8a0 commit 93fc954
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 xyz`;
} else {
document.title = "neuroglancer";
document.title = "neuroglancer xyz";
}
});
const unregisterSignalHandler = title.changed.add(debouncedSetTitle);
Expand Down

0 comments on commit 93fc954

Please sign in to comment.