diff options
author | Naafiyan Ahmed <naafiyan@gmail.com> | 2022-03-17 12:17:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-17 12:17:27 -0400 |
commit | 5c874c6829d9957696dfe61014173b6800c864df (patch) | |
tree | 23b7206679d500fc039a4302255cf3d6e17b47d3 /src/client/util/LinkManager.ts | |
parent | a299d1766aa7f4bf3e6bbc3032a39b6b5ae28b4b (diff) | |
parent | 5a385e46937a2f79d557b4ee929e78ba78aca8bf (diff) |
Merge pull request #55 from brown-dash/speedups2
Speedups2
Diffstat (limited to 'src/client/util/LinkManager.ts')
-rw-r--r-- | src/client/util/LinkManager.ts | 2 |
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 { |