aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/LightboxView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-06-03 16:02:24 -0400
committerbobzel <zzzman@gmail.com>2022-06-03 16:02:24 -0400
commitba7824a91da113cc813c58b678719092c96d79a2 (patch)
tree4b79859da0933b6634afcc66ade3de199e70d33d /src/client/views/LightboxView.tsx
parent31b2606fa6ac49b0a78e46fcedff05fd2e2366b7 (diff)
fixed opening closed tabs from Files sidebar to re-use best Alias before making a new alias.
Diffstat (limited to 'src/client/views/LightboxView.tsx')
-rw-r--r--src/client/views/LightboxView.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/views/LightboxView.tsx b/src/client/views/LightboxView.tsx
index ddfc8b249..3d2769f66 100644
--- a/src/client/views/LightboxView.tsx
+++ b/src/client/views/LightboxView.tsx
@@ -275,9 +275,8 @@ export class LightboxView extends React.Component<LightboxViewProps> {
<div className="lightboxView-tabBtn" title={"open in tab"}
onClick={e => {
e.stopPropagation();
- // CollectionDockingView.AddSplit(LightboxView._docTarget || LightboxView._doc!, "");
- LightboxView.openInTabFunc(LightboxView._docTarget || LightboxView._doc!, "inPlace");
- console.log("lightbox to tab triggered")
+ CollectionDockingView.AddSplit(LightboxView._docTarget || LightboxView._doc!, "");
+ //LightboxView.openInTabFunc(LightboxView._docTarget || LightboxView._doc!, "inPlace");
SelectionManager.DeselectAll();
LightboxView.SetLightboxDoc(undefined);
}}>