prevent
This commit is contained in:
parent
e021504356
commit
6db2458929
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ export default class ConsoleComponent {
|
|||
case KeyboardEvent.DOM_VK_ESCAPE:
|
||||
return this.hideCommand();
|
||||
case KeyboardEvent.DOM_VK_RETURN:
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
return this.onEntered(e.target.value);
|
||||
case KeyboardEvent.DOM_VK_TAB:
|
||||
if (e.shiftKey) {
|
||||
|
|
Reference in a new issue