diff options
author | bob <bcz@cs.brown.edu> | 2019-09-05 13:22:53 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-09-05 13:22:53 -0400 |
commit | 2157c8e3fc08479c98a1f86575bc419f7061abb2 (patch) | |
tree | 27257b99674cb227c4be6c7893cc2f0fab56540f /src/client/views/linking/LinkFollowBox.tsx | |
parent | 179b2c7c68e3d240f3f39083bdb686ad31761c04 (diff) |
fixed default link following behavior for link menu items
Diffstat (limited to 'src/client/views/linking/LinkFollowBox.tsx')
-rw-r--r-- | src/client/views/linking/LinkFollowBox.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/linking/LinkFollowBox.tsx b/src/client/views/linking/LinkFollowBox.tsx index 74663f9af..11d495c97 100644 --- a/src/client/views/linking/LinkFollowBox.tsx +++ b/src/client/views/linking/LinkFollowBox.tsx @@ -17,7 +17,6 @@ import { listSpec } from "../../../new_fields/Schema"; import { DocServer } from "../../DocServer"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faTimes } from '@fortawesome/free-solid-svg-icons'; -import { CurrentUserUtils } from "../../../server/authentication/models/current_user_utils"; enum FollowModes { OPENTAB = "Open in Tab", @@ -321,7 +320,7 @@ export class LinkFollowBox extends React.Component<FieldViewProps> { } //set this to be the default link behavior, can be any of the above - public defaultLinkBehavior: (options?: any) => void = this.openLinkTab; + public defaultLinkBehavior: (options?: any) => string = (options?: any) => "inTab"; @action currentLinkBehavior = () => { |