diff options
| author | bobzel <zzzman@gmail.com> | 2022-06-09 11:32:01 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-06-09 11:32:01 -0400 |
| commit | 012a4681c824baaef60370de5904e9cc35b03f13 (patch) | |
| tree | 3439419cce741075d84b2146bfd3797df86cc851 /src/client/views/collections/TabDocView.tsx | |
| parent | 53bc43a9817f6a80b9dc4e0adad11b555c4236b6 (diff) | |
fixed pin doc navigation when not in presBox (eg. headerBar)
Diffstat (limited to 'src/client/views/collections/TabDocView.tsx')
| -rw-r--r-- | src/client/views/collections/TabDocView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx index 5883f0496..142013d1a 100644 --- a/src/client/views/collections/TabDocView.tsx +++ b/src/client/views/collections/TabDocView.tsx @@ -261,8 +261,8 @@ export class TabDocView extends React.Component<TabDocViewProps> { pinDoc.presPinClipWidth = width; pinDoc.presPinView = true; } - pinDoc.onClick = ScriptField.MakeFunction("DocFocusOrOpen(self.presentationTargetDoc)"); } + pinDoc.onClick = ScriptField.MakeFunction("navigateToDoc(self.presentationTargetDoc, self)"); Doc.AddDocToList(curPres, "data", pinDoc, presSelected); if (!pinProps?.audioRange && duration !== undefined) { pinDoc.mediaStart = "manual"; |
