diff options
author | bobzel <zzzman@gmail.com> | 2021-08-06 09:52:04 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-08-06 09:52:04 -0400 |
commit | b25921a0cbdb431726e7089fabdd08fe43c6b3de (patch) | |
tree | 136eef04d20316a4a9506f6381e9a79c92987243 /src/client/views/nodes/DocumentView.tsx | |
parent | a6bb135b171d373d72e06431a9e5a5e4b82cc796 (diff) |
fixed webbox history to allow duplicate urls
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index bea219831..745d58656 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -420,7 +420,7 @@ export class DocumentViewInternal extends DocComponent<DocumentViewInternalProps focus = (anchor: Doc, options?: DocFocusOptions) => { LightboxView.SetCookie(StrCast(anchor["cookies-set"])); - // copying over _VIEW fields immediately allows the view type to switch to create the right _componentView + // copying over VIEW fields immediately allows the view type to switch to create the right _componentView Array.from(Object.keys(Doc.GetProto(anchor))).filter(key => key.startsWith(ViewSpecPrefix)).forEach(spec => { this.layoutDoc[spec.replace(ViewSpecPrefix, "")] = ((field) => field instanceof ObjectField ? ObjectField.MakeCopy(field) : field)(anchor[spec]); }); |