diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-04-24 00:06:48 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-04-24 00:06:48 -0400 |
| commit | 08fbeaf2ebf4ee2466fa156e6e8c663d2bef7864 (patch) | |
| tree | bac6cf3be337781fb8a6df1fce4b30f50b0c2182 /src/client/views/TemplateMenu.tsx | |
| parent | a37559a417b8a19ee56ac3b2f5dd46ef70ca53a6 (diff) | |
moved iconify code into Doc from DocumentView. fixed up starburst a bit.
Diffstat (limited to 'src/client/views/TemplateMenu.tsx')
| -rw-r--r-- | src/client/views/TemplateMenu.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/TemplateMenu.tsx b/src/client/views/TemplateMenu.tsx index e3c749a4d..4c84a22ad 100644 --- a/src/client/views/TemplateMenu.tsx +++ b/src/client/views/TemplateMenu.tsx @@ -169,7 +169,7 @@ Scripting.addGlobal(function switchView(doc: Doc, template: Doc | undefined) { template = Cast(template.dragFactory, Doc, null); } const templateTitle = StrCast(template?.title); - return templateTitle && DocumentView.makeCustomViewClicked(doc, Docs.Create.FreeformDocument, templateTitle, template); + return templateTitle && Doc.makeCustomViewClicked(doc, Docs.Create.FreeformDocument, templateTitle, template); }); Scripting.addGlobal(function templateIsUsed(templateDoc: Doc, selDoc: Doc) { |
