aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-08-15 18:44:55 -0400
committerbobzel <zzzman@gmail.com>2024-08-15 18:44:55 -0400
commit196bfbcacd554e0d5e1d437588c5719606d21025 (patch)
tree61f36773bbc87f52d4d44bebf2b39d59c604abc4 /src
parentfed4bf0b7363b9d58828a7a51f037a26f287d874 (diff)
fixed lightbox typing into a one-line text box that is auto-titling
Diffstat (limited to 'src')
-rw-r--r--src/client/views/LightboxView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/LightboxView.tsx b/src/client/views/LightboxView.tsx
index 334983ad0..b8b73e7dd 100644
--- a/src/client/views/LightboxView.tsx
+++ b/src/client/views/LightboxView.tsx
@@ -276,7 +276,7 @@ export class LightboxView extends ObservableReactComponent<LightboxViewProps> {
}}>
<GestureOverlay isActive>
<DocumentView
- key={this._doc.title + this._doc[Id]} // this makes a new DocumentView when the document changes which makes link following work, otherwise no DocView is registered for the new Doc
+ key={this._doc[Id]} // this makes a new DocumentView when the document changes which makes link following work, otherwise no DocView is registered for the new Doc
ref={action((r: DocumentView | null) => {
this._docView = r !== null ? r : undefined;
})}