aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-07-12 19:27:46 -0400
committeryipstanley <stanley_yip@brown.edu>2019-07-12 19:27:46 -0400
commit22cc2d3539ccf9fa70c232551761bbb39388e8e2 (patch)
tree7e0108eff586203eb884ddaa5978d78ef2783cdf
parent1e79bbb18e54a4408099470c9677b67826db52bb (diff)
oops
-rw-r--r--src/client/views/GlobalKeyHandler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts
index 037eee55f..d3c689571 100644
--- a/src/client/views/GlobalKeyHandler.ts
+++ b/src/client/views/GlobalKeyHandler.ts
@@ -71,7 +71,7 @@ export default class KeyManager {
case "backspace":
if (document.activeElement) {
if (document.activeElement.tagName === "INPUT" || document.activeElement.tagName === "TEXTAREA") {
- return;
+ return { stopPropagation: false, preventDefault: false };
}
}
UndoManager.RunInBatch(() => {