aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-03-10 13:28:32 -0500
committerbobzel <zzzman@gmail.com>2021-03-10 13:28:32 -0500
commitef574303f39e83fd2a6481e4a7e2eef0a70b4691 (patch)
tree0578cf0c10c6ac6805f6ee783a6cd176636cc01c /src/client/documents/Documents.ts
parentdec235231875333100d3c63e62bdca808153ed5b (diff)
fixed bugs leftover from removing docholders.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 357b82cd6..1726c42d3 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -833,10 +833,6 @@ export namespace Docs {
return InstanceFromProto(Prototypes.get(DocumentType.KVP), document, { _fitWidth: true, title: document.title + ".kvp", ...options });
}
- export function DocumentDocument(document?: Doc, options: DocumentOptions = {}) {
- return InstanceFromProto(Prototypes.get(DocumentType.DOCHOLDER), document, { title: document ? document.title + "" : "container", targetDropAction: "move", ...options });
- }
-
export function TextanchorDocument(options: DocumentOptions = {}, id?: string) {
return InstanceFromProto(Prototypes.get(DocumentType.TEXTANCHOR), undefined, { targetDropAction: "move", ...options }, id);
}