diff options
author | bobzel <zzzman@gmail.com> | 2021-03-19 18:24:33 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-03-19 18:24:33 -0400 |
commit | 40245cd179ac0544e3a21e1b56ead73475e90cc8 (patch) | |
tree | 248823fb8641106f2a6d8166f33fe8c1e9794b21 /src/client/views/MainView.tsx | |
parent | fac7cb468478060fa8de0b0fbd5490f2a0a85e7c (diff) |
added stuff to WebBox so that it will work with Firefox browsers (which have the benefit of rendering web pages without blur the way Chrome does on windows)
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r-- | src/client/views/MainView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index 4444a3944..71bff86c4 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -193,8 +193,8 @@ export class MainView extends React.Component { document.addEventListener("pointerdown", this.globalPointerDown); document.addEventListener("click", (e: MouseEvent) => { if (!e.cancelBubble) { - const pathstr = (e as any)?.path.map((p: any) => p.classList?.toString()).join(); - if (pathstr.includes("libraryFlyout")) { + const pathstr = (e as any)?.path?.map((p: any) => p.classList?.toString()).join(); + if (pathstr?.includes("libraryFlyout")) { SelectionManager.DeselectAll(); } } |