Skip to content

Commit

Permalink
Merge pull request #98 from HuiSF/fix-cannot-type-question-mark
Browse files Browse the repository at this point in the history
Fix issue #97 Cannot type question mark.
  • Loading branch information
richgilbank authored Feb 27, 2019
2 parents f9ab0cc + 7c6e9d7 commit 834cbfd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions panel/scripts/repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,11 @@ Repl.prototype.addEventListeners = function() {
this.deliverContent(this.editor.getValue());
}
}.bind(this));
document.addEventListener('keydown', function(e) {
if(e.key === '?') {
e.stopPropagation();
}
}, true);

this.DOM.resizeDivider.addEventListener('mousedown', debounce(this.onResizeMousedown.bind(this)), 200);

Expand Down

0 comments on commit 834cbfd

Please sign in to comment.