aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-03-11 13:57:54 -0400
committerbob <bcz@cs.brown.edu>2019-03-11 13:57:54 -0400
commite0d33c6092e5fb62343ef38d8734fa342e6dff84 (patch)
tree38958cd49e8317f1e5d6e3f6c099bb0a4c8cb6fc /src/client/views/nodes/DocumentView.tsx
parent666c74b4bf9a4545fe6a73fcedbc73bc1fae9b94 (diff)
fixed marquee modifiers.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 915e78e82..ee19c2b80 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -106,9 +106,6 @@ export class DocumentView extends React.Component<DocumentViewProps> {
} else {
if (this.active && !e.isDefaultPrevented()) {
e.stopPropagation();
- if (e.buttons === 2) {
- e.preventDefault();
- }
document.removeEventListener("pointermove", this.onPointerMove)
document.addEventListener("pointermove", this.onPointerMove);
document.removeEventListener("pointerup", this.onPointerUp)