diff options
| author | bobzel <zzzman@gmail.com> | 2022-10-06 11:18:42 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-10-06 11:18:42 -0400 |
| commit | 161e0f1bdaec29516c9398c740a585e22595bf74 (patch) | |
| tree | a47efdc09d80a1aad3e8b9057d2ebc7444d07fdb /src/client/views/LightboxView.tsx | |
| parent | 4d21b79bfb87bb5fe81950a432a031f42b99f707 (diff) | |
fixed warnings with scriptingbox keys
Diffstat (limited to 'src/client/views/LightboxView.tsx')
| -rw-r--r-- | src/client/views/LightboxView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/LightboxView.tsx b/src/client/views/LightboxView.tsx index e8b8a3eaa..bd6cea28a 100644 --- a/src/client/views/LightboxView.tsx +++ b/src/client/views/LightboxView.tsx @@ -281,7 +281,7 @@ export class LightboxView extends React.Component<LightboxViewProps> { action(() => { const target = LightboxView._docTarget; const doc = LightboxView._doc; - const targetView = target && DocumentManager.Instance.getLightboxDocumentView(target); + //const targetView = target && DocumentManager.Instance.getLightboxDocumentView(target); if (doc === r.props.Document && (!target || target === doc)) r.ComponentView?.shrinkWrap?.(); //else target?.focus(target, { willZoom: true, scale: 0.9, instant: true }); // bcz: why was this here? it breaks smooth navigation in lightbox using 'next' button }) |
