aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-03-18 08:50:20 -0400
committerbob <bcz@cs.brown.edu>2019-03-18 08:50:20 -0400
commita6bd51b13b3f571718f6db9161fdbbc497582336 (patch)
treeaa6b542c9e89eefac7145ecea05419ee1cc90a49 /src
parent6df4833c13921dd6d69d05fa979398356d438c71 (diff)
fixed missing first character when typing bug
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/PreviewCursor.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/collections/PreviewCursor.tsx b/src/client/views/collections/PreviewCursor.tsx
index cbcfa568d..cbf36cf9e 100644
--- a/src/client/views/collections/PreviewCursor.tsx
+++ b/src/client/views/collections/PreviewCursor.tsx
@@ -59,7 +59,6 @@ export class PreviewCursor extends React.Component<PreviewCursorProps> {
let newBox = Documents.TextDocument({ width: 200, height: 100, x: x, y: y, title: "new" });
this.props.addLiveTextDocument(newBox);
e.stopPropagation();
- e.preventDefault();
}
}