Commit e86cb785 authored by Jordan Pickwell's avatar Jordan Pickwell Committed by cinwell.li

Fix #9121 (#9122)

parent 166df00c
...@@ -360,8 +360,8 @@ ...@@ -360,8 +360,8 @@
document.body.removeEventListener('keydown', this.handleKeydown); document.body.removeEventListener('keydown', this.handleKeydown);
}, },
handleKeydown(e) { handleKeydown(event) {
const keyCode = e.keyCode; const keyCode = event.keyCode;
const list = [38, 40, 37, 39]; const list = [38, 40, 37, 39];
if (this.visible && !this.timePickerVisible) { if (this.visible && !this.timePickerVisible) {
if (list.indexOf(keyCode) !== -1) { if (list.indexOf(keyCode) !== -1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment