diff options
author | bob <bcz@cs.brown.edu> | 2019-09-03 16:47:52 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-09-03 16:47:52 -0400 |
commit | 25e8cc61f67bed3063dc81997d31f29e451b5610 (patch) | |
tree | 3381aa45ceddd72068385d260473403f30fb693f /src/server/authentication/models | |
parent | 7e87aa4b7e0125482c87ab61f4a0de14e774558d (diff) | |
parent | a4d36f835b5c43351d1761034b61513b000445ba (diff) |
merged with master
Diffstat (limited to 'src/server/authentication/models')
-rw-r--r-- | src/server/authentication/models/current_user_utils.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/authentication/models/current_user_utils.ts b/src/server/authentication/models/current_user_utils.ts index 83e45d3ce..9866e22eb 100644 --- a/src/server/authentication/models/current_user_utils.ts +++ b/src/server/authentication/models/current_user_utils.ts @@ -79,6 +79,9 @@ export class CurrentUserUtils { Doc.GetProto(overlays).backgroundColor = "#aca3a6"; doc.overlays = overlays; } + if (doc.linkFollowBox === undefined) { + PromiseValue(Cast(doc.overlays, Doc)).then(overlays => overlays && Doc.AddDocToList(overlays, "data", doc.linkFollowBox = Docs.Create.LinkFollowBoxDocument({ x: 250, y: 20, width: 500, height: 370, title: "Link Follower" }))); + } StrCast(doc.title).indexOf("@") !== -1 && (doc.title = StrCast(doc.title).split("@")[0] + "'s Library"); doc.width = 100; doc.preventTreeViewOpen = true; |