aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-04-08 19:14:47 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-04-08 19:14:47 -0400
commitb21db9d40c1619df5455ba8ffe3ef76913cc92de (patch)
treead895a8e98429ecbf3422da584fd93e31ddd935f /src/client/documents
parent17c2562a7be4c4e1c2990233eea6f91a68f16942 (diff)
added scripting box
Diffstat (limited to 'src/client/documents')
-rw-r--r--src/client/documents/Documents.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 5231dbb8c..5eca71ca9 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -509,8 +509,8 @@ export namespace Docs {
return InstanceFromProto(Prototypes.get(DocumentType.PRES), initial, options);
}
- export function ScriptingDocument(url: string, options: DocumentOptions = {}) {
- return InstanceFromProto(Prototypes.get(DocumentType.SCRIPTING), new YoutubeField(new URL(url)), options);
+ export function ScriptingDocument(options: DocumentOptions = {}) {
+ return InstanceFromProto(Prototypes.get(DocumentType.SCRIPTING), "", options);
}
export function VideoDocument(url: string, options: DocumentOptions = {}) {