Permalink
Browse files

Fixing console.log messages related to keyboard shortcuts.

  • Loading branch information...
ellisonbg committed Aug 20, 2011
1 parent 7e2eee1 commit 4a3930a8fe00466a4320a639d1dee87d29fc95d8
Showing with 1 addition and 3 deletions.
  1. +1 −3 IPython/frontend/html/notebook/static/js/notebook.js
@@ -53,7 +53,7 @@ var IPython = (function (IPython) {
Notebook.prototype.bind_events = function () {
var that = this;
$(document).keydown(function (event) {
- console.log(event);
+ // console.log(event);
if (event.which === 38) {
var cell = that.selected_cell();
if (cell.at_top()) {
@@ -73,7 +73,6 @@ var IPython = (function (IPython) {
that.execute_selected_cell({terminal:true});
return false;
} else if (event.which === 77 && event.ctrlKey) {
- console.log("Activating control key")
that.control_key_active = true;
return false;
} else if (event.which === 68 && that.control_key_active) {
@@ -183,7 +182,6 @@ var IPython = (function (IPython) {
Notebook.prototype.show_keyboard_shortcuts = function () {
- console.log('showing');
var dialog = $('<div/>');
var shortcuts = [
{key: 'Shift-Enter', help: 'run cell'},

0 comments on commit 4a3930a

Please sign in to comment.