diff options
author | bobzel <zzzman@gmail.com> | 2024-03-06 13:29:30 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-03-06 13:29:30 -0500 |
commit | 5458574510fcda755ae23b4001e17efa799865a5 (patch) | |
tree | 597529cac155f9494f73cd6f1d32374e6fea8d53 /src/client/views/nodes/DocumentView.tsx | |
parent | bd9170eaa21a2fbccd0912f50d40cefaf0bbe47f (diff) |
fixed plotly/mermaids loading from a new account
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 ee058c085..431781d24 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -518,7 +518,7 @@ export class DocumentViewInternal extends DocComponent<FieldViewProps & Document }; onContextMenu = (e?: React.MouseEvent, pageX?: number, pageY?: number) => { - if (e && this.layoutDoc._layout_hideContextMenu && Doc.noviceMode) { + if (e && this.layoutDoc.layout_hideContextMenu && Doc.noviceMode) { e.preventDefault(); e.stopPropagation(); //!this._props.isSelected(true) && SelectionManager.SelectView(this.DocumentView(), false); |