diff options
author | bobzel <zzzman@gmail.com> | 2022-06-03 16:02:24 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-06-03 16:02:24 -0400 |
commit | ba7824a91da113cc813c58b678719092c96d79a2 (patch) | |
tree | 4b79859da0933b6634afcc66ade3de199e70d33d /src/client/views/LightboxView.tsx | |
parent | 31b2606fa6ac49b0a78e46fcedff05fd2e2366b7 (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.tsx | 5 |
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); }}> |