Show More
@@ -57,6 +57,11 b' var IPython = (function (IPython) {' | |||||
57 | $(document).keydown(function (event) { |
|
57 | $(document).keydown(function (event) { | |
58 | // console.log(event); |
|
58 | // console.log(event); | |
59 | if (that.read_only) return; |
|
59 | if (that.read_only) return; | |
|
60 | if (event.which === 27) { | |||
|
61 | // Intercept escape at highest level to avoid closing | |||
|
62 | // websocket connection with firefox | |||
|
63 | event.preventDefault(); | |||
|
64 | } | |||
60 | if (event.which === 38) { |
|
65 | if (event.which === 38) { | |
61 | var cell = that.selected_cell(); |
|
66 | var cell = that.selected_cell(); | |
62 | if (cell.at_top()) { |
|
67 | if (cell.at_top()) { |
General Comments 0
You need to be logged in to leave comments.
Login now