aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-06-15 00:10:16 -0700
committerLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-06-15 00:10:16 -0700
commit3dab85351e1fe862a54294cec70e7139abea0d7d (patch)
tree2678023db545227a807033262cc0751ac5ef0090 /src/client/views/nodes/DocumentView.tsx
parent1ec3e719290f5383a1c57e9911545e1058f51fac (diff)
added ? to a lot of things
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 1d98a2628..66bc73617 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -138,7 +138,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu
document.removeEventListener("pointerup", this.onPointerUp);
console.log(SelectionManager.SelectedDocuments());
console.log("START");
- if (RadialMenu.Instance._display === false) {
+ if (RadialMenu.Instance?._display === false) {
this.addHoldMoveListeners();
this.addHoldEndListeners();
this.onRadialMenu(e, me);