aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionFreeFormView.tsx
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-03-12 11:03:19 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-03-12 11:03:19 -0400
commitae8bc0f99f35f6c72aaa9be3f5617d54ba64299b (patch)
treead6773cf6bfa98a75734d965b36626879c2cd719 /src/client/views/collections/CollectionFreeFormView.tsx
parent1b2eac89b8f88358ecf1ba0e782c90379090b9c8 (diff)
Fixes
Diffstat (limited to 'src/client/views/collections/CollectionFreeFormView.tsx')
-rw-r--r--src/client/views/collections/CollectionFreeFormView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionFreeFormView.tsx b/src/client/views/collections/CollectionFreeFormView.tsx
index 761c3ba56..ab41d1378 100644
--- a/src/client/views/collections/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/CollectionFreeFormView.tsx
@@ -116,6 +116,7 @@ export class CollectionFreeFormView extends CollectionViewBase {
@action
cleanupInteractions = () => {
+ document.removeEventListener("keydown", this.marqueeCommand);
document.removeEventListener("pointermove", this.onPointerMove);
document.removeEventListener("pointerup", this.onPointerUp);
this._marquee = false;