From 1b5a75b39b6588ce02e4579961a01316627cf47f Mon Sep 17 00:00:00 2001 From: monikahedman Date: Fri, 23 Aug 2019 22:21:15 -0400 Subject: jk now it does, about to start cleaning up --- src/client/views/linking/LinkFollowBox.tsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/client/views/linking/LinkFollowBox.tsx b/src/client/views/linking/LinkFollowBox.tsx index f58e0c8b0..f78446771 100644 --- a/src/client/views/linking/LinkFollowBox.tsx +++ b/src/client/views/linking/LinkFollowBox.tsx @@ -77,11 +77,17 @@ export class LinkFollowBox extends React.Component { } }); - if (shouldReturn) { (() => { this.canPan = false; }); return; } + if (shouldReturn) { + runInAction(() => { this.canPan = false; }); + } } - else { runInAction(() => { this.canPan = false; }); return; } + else { + runInAction(() => { this.canPan = false; }); + } + } + else { + runInAction(() => { this.canPan = false; }); } - else { runInAction(() => { this.canPan = false; }); return; } } ); } -- cgit v1.2.3-70-g09d2