aboutsummaryrefslogtreecommitdiff
path: root/src/Utils.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2020-02-17 20:12:04 -0500
committerbob <bcz@cs.brown.edu>2020-02-17 20:12:04 -0500
commit422740bc2452f81be8b1d8fdaf41669624a34c3a (patch)
treee649fa2f4f9fd464ac11cb1d8cdba392ea10c5fb /src/Utils.ts
parent266892f40d5abc9f8ce4cbb2d6fb70564ecd8da3 (diff)
allow notes to become template notes
Diffstat (limited to 'src/Utils.ts')
-rw-r--r--src/Utils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Utils.ts b/src/Utils.ts
index 9162771aa..3786b4f6f 100644
--- a/src/Utils.ts
+++ b/src/Utils.ts
@@ -505,6 +505,7 @@ export function setupMoveUpEvents(
document.removeEventListener("pointerup", _upEvent);
};
e.stopPropagation();
+ e.preventDefault();
document.removeEventListener("pointermove", _moveEvent);
document.removeEventListener("pointerup", _upEvent);
document.addEventListener("pointermove", _moveEvent);