Skip to content

Commit 42e81f4

Browse files
authored
Change "Return" to "Enter"
Change "Return" to "Enter" in key mapping in function `_kbevent_to_func`
1 parent 6fe095c commit 42e81f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jstree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@
654654
},
655655
_kbevent_to_func : function (e) {
656656
var keys = {
657-
8: "Backspace", 9: "Tab", 13: "Return", 19: "Pause", 27: "Esc",
657+
8: "Backspace", 9: "Tab", 13: "Enter", 19: "Pause", 27: "Esc",
658658
32: "Space", 33: "PageUp", 34: "PageDown", 35: "End", 36: "Home",
659659
37: "Left", 38: "Up", 39: "Right", 40: "Down", 44: "Print", 45: "Insert",
660660
46: "Delete", 96: "Numpad0", 97: "Numpad1", 98: "Numpad2", 99 : "Numpad3",

0 commit comments

Comments
 (0)