Show More
@@ -19,8 +19,10 b' Notebook.prototype.bind_events = function () {' | |||||
19 | $(document).keydown(function (event) { |
|
19 | $(document).keydown(function (event) { | |
20 | console.log(event); |
|
20 | console.log(event); | |
21 | if (event.which == 38 && event.shiftKey) { |
|
21 | if (event.which == 38 && event.shiftKey) { | |
|
22 | event.preventDefault(); | |||
22 | that.select_prev(); |
|
23 | that.select_prev(); | |
23 | } else if (event.which == 40 && event.shiftKey) { |
|
24 | } else if (event.which == 40 && event.shiftKey) { | |
|
25 | event.preventDefault(); | |||
24 | that.select_next(); |
|
26 | that.select_next(); | |
25 | } else if (event.which == 13 && event.shiftKey) { |
|
27 | } else if (event.which == 13 && event.shiftKey) { | |
26 | // The focus is not quite working here. |
|
28 | // The focus is not quite working here. |
General Comments 0
You need to be logged in to leave comments.
Login now