aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/LightboxView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-02-12 12:17:44 -0500
committerbobzel <zzzman@gmail.com>2021-02-12 12:17:44 -0500
commitd0607264d955d90eca8178d5bfbc6a72f47fa872 (patch)
tree3320a09e7f113f87dfbb1b7d9155605fa7a3f1b1 /src/client/views/LightboxView.tsx
parent4a9d6d1409327fd99c5f554caebd917a316db32b (diff)
fixed subtle bug with lightbox inadvertently clearing out childDoc list of a collection. added shift-double-cllick to open collection in lightbox.
Diffstat (limited to 'src/client/views/LightboxView.tsx')
-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 fbfc9672f..529eecacf 100644
--- a/src/client/views/LightboxView.tsx
+++ b/src/client/views/LightboxView.tsx
@@ -26,7 +26,7 @@ export class LightboxView extends React.Component<LightboxViewProps> {
if (!doc) {
LightboxView.LightboxFuture = LightboxView.LightboxHistory = [];
} else if (future) {
- LightboxView.LightboxFuture = future;
+ LightboxView.LightboxFuture = future.slice();
}
return true;
}