diff options
author | monikahedman <monika_hedman@brown.edu> | 2019-08-26 09:56:12 -0400 |
---|---|---|
committer | monikahedman <monika_hedman@brown.edu> | 2019-08-26 09:56:12 -0400 |
commit | a085e811d0b1332619ae9117a4dbf13316a82730 (patch) | |
tree | 528479d5a9868f50544cc765b2f3acd8187935b5 /src/client/views/nodes/FormattedTextBox.tsx | |
parent | ee5f4ad5348f10d9e76eaf2962295a6968e7a4d0 (diff) | |
parent | 939074601016a674d6a01922bab1383684fce63f (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into monika_linking
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/FormattedTextBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx index 876d4c428..d6ba1700a 100644 --- a/src/client/views/nodes/FormattedTextBox.tsx +++ b/src/client/views/nodes/FormattedTextBox.tsx @@ -259,7 +259,7 @@ export class FormattedTextBox extends DocComponent<(FieldViewProps & FormattedTe e.stopPropagation(); } else if (de.data instanceof DragManager.DocumentDragData) { const draggedDoc = de.data.draggedDocuments.length && de.data.draggedDocuments[0]; - if (draggedDoc && draggedDoc.type === DocumentType.TEXT && StrCast(draggedDoc.layout) != "") { + if (draggedDoc && draggedDoc.type === DocumentType.TEXT && StrCast(draggedDoc.layout) !== "") { this.props.Document.layout = draggedDoc; draggedDoc.isTemplate = true; e.stopPropagation(); |