aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/FormattedTextBox.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-08-27 15:52:25 -0400
committerbob <bcz@cs.brown.edu>2019-08-27 15:52:25 -0400
commit656a08a130124870c9f652f7b1529b2b496cdac7 (patch)
tree82243f21c9e2721baedfd8da4e67977a25e8c49d /src/client/views/nodes/FormattedTextBox.tsx
parent34e0b1cf34474ec6765e212b6a35defefbfb49c9 (diff)
lint fixes.
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.tsx')
-rw-r--r--src/client/views/nodes/FormattedTextBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx
index c28bf1821..49189c5f3 100644
--- a/src/client/views/nodes/FormattedTextBox.tsx
+++ b/src/client/views/nodes/FormattedTextBox.tsx
@@ -622,7 +622,7 @@ export class FormattedTextBox extends DocComponent<(FieldViewProps & FormattedTe
}
}
- if (this.props.Document[Id] == FormattedTextBox.SelectOnLoad) {
+ if (this.props.Document[Id] === FormattedTextBox.SelectOnLoad) {
FormattedTextBox.SelectOnLoad = "";
this.props.select(false);
}