diff options
-rw-r--r-- | src/client/views/collections/CollectionMenu.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionMenu.tsx b/src/client/views/collections/CollectionMenu.tsx index 3cc041e0b..ddb33727b 100644 --- a/src/client/views/collections/CollectionMenu.tsx +++ b/src/client/views/collections/CollectionMenu.tsx @@ -742,8 +742,8 @@ export class CollectionFreeFormViewChrome extends React.Component<CollectionMenu const history = Cast(selectedDoc["data-history"], listSpec("string"), null); const annos = DocListCast(selectedDoc["data-annotations"]); if (Field.toString(selectedDoc.data as Field) === Field.toString(new WebField(URLy))) { - Doc.GetProto(selectedDoc).data = undefined; - setTimeout(action(() => Doc.GetProto(selectedDoc).data = new WebField(URLy)), 0); + Doc.GetProto(selectedDoc).data = new WebField(new URL("http://cs.brown.edu/~avd")); + setTimeout(action(() => Doc.GetProto(selectedDoc).data = new WebField(URLy)), 100); } else { if (url) { Doc.GetProto(selectedDoc)["data-annotations-" + this.urlHash(this._url)] = new List<Doc>(annos); |