aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-11-08 19:11:22 -0500
committerbobzel <zzzman@gmail.com>2023-11-08 19:11:22 -0500
commit224a9162859d98a36c13eb72c4b88f38eb52e28d (patch)
tree51b459cb92932daf9f3f357ab74845a4623abb9e /src/client/views/DocumentDecorations.tsx
parent601cb81824f99302eb4e4287304db33032f2aa0b (diff)
clean up of LightboxView
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r--src/client/views/DocumentDecorations.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index 6c55895ef..ff7daa2eb 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -307,7 +307,7 @@ export class DocumentDecorations extends React.Component<{ PanelWidth: number; P
openDoc = DocListCast(openDoc.proto_embeddings).find(embedding => !embedding.embedContainer) ?? Doc.MakeEmbedding(openDoc);
Doc.deiconifyView(openDoc);
}
- LightboxView.SetLightboxDoc(
+ LightboxView.Instance.SetLightboxDoc(
openDoc,
undefined,
selectedDocs.slice(1).map(view => view.rootDoc)