Show More
@@ -53,7 +53,7 var IPython = (function (IPython) { | |||
|
53 | 53 | Notebook.prototype.bind_events = function () { |
|
54 | 54 | var that = this; |
|
55 | 55 | $(document).keydown(function (event) { |
|
56 | console.log(event); | |
|
56 | // console.log(event); | |
|
57 | 57 | if (event.which === 38) { |
|
58 | 58 | var cell = that.selected_cell(); |
|
59 | 59 | if (cell.at_top()) { |
@@ -73,7 +73,6 var IPython = (function (IPython) { | |||
|
73 | 73 | that.execute_selected_cell({terminal:true}); |
|
74 | 74 | return false; |
|
75 | 75 | } else if (event.which === 77 && event.ctrlKey) { |
|
76 | console.log("Activating control key") | |
|
77 | 76 | that.control_key_active = true; |
|
78 | 77 | return false; |
|
79 | 78 | } else if (event.which === 68 && that.control_key_active) { |
@@ -183,7 +182,6 var IPython = (function (IPython) { | |||
|
183 | 182 | |
|
184 | 183 | |
|
185 | 184 | Notebook.prototype.show_keyboard_shortcuts = function () { |
|
186 | console.log('showing'); | |
|
187 | 185 | var dialog = $('<div/>'); |
|
188 | 186 | var shortcuts = [ |
|
189 | 187 | {key: 'Shift-Enter', help: 'run cell'}, |
General Comments 0
You need to be logged in to leave comments.
Login now