aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/LinkManager.ts
diff options
context:
space:
mode:
authorAubrey Li <Aubrey-Li>2022-03-17 16:46:15 -0400
committerAubrey Li <Aubrey-Li>2022-03-17 16:46:15 -0400
commit4e826c06bf3141f4561692f8565476db287f6135 (patch)
tree2bd0da7a72f11058f03bb1d4b911ef531ad3d32b /src/client/util/LinkManager.ts
parent33cb4ee1c5a6ff07f2c1096d94259c0e2999f1c1 (diff)
parent73ba1a0395167ab5949f71d0c82fa7188d37ab5c (diff)
Merge remote-tracking branch 'origin/speedups2' into presentation_upgrade
Diffstat (limited to 'src/client/util/LinkManager.ts')
-rw-r--r--src/client/util/LinkManager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/LinkManager.ts b/src/client/util/LinkManager.ts
index 62b13e2c6..df2c02a8d 100644
--- a/src/client/util/LinkManager.ts
+++ b/src/client/util/LinkManager.ts
@@ -194,7 +194,7 @@ export class LinkManager {
afterFocus: (didFocus: boolean) => {
finished?.();
res(ViewAdjustment.resetView);
- return new Promise<ViewAdjustment>(res2 => res2());
+ return new Promise<ViewAdjustment>(res2 => res2(ViewAdjustment.doNothing));
}
});
} else {