diff --git a/IPython/html/static/notebook/js/keyboardmanager.js b/IPython/html/static/notebook/js/keyboardmanager.js
index a7b90cb..3127ddc 100644
--- a/IPython/html/static/notebook/js/keyboardmanager.js
+++ b/IPython/html/static/notebook/js/keyboardmanager.js
@@ -227,9 +227,6 @@ define([
help : 'select previous cell',
help_index : 'da',
handler : function (event) {
- if(event.codemirrorIgnore===true){
- return false;
- }
var index = that.notebook.get_selected_index();
if (index !== 0 && index !== null) {
that.notebook.select_prev();
@@ -242,9 +239,6 @@ define([
help : 'select next cell',
help_index : 'db',
handler : function (event) {
- if(event.codemirrorIgnore===true){
- return false;
- }
var index = that.notebook.get_selected_index();
if (index !== (that.notebook.ncells()-1) && index !== null) {
that.notebook.select_next();
diff --git a/IPython/html/static/notebook/js/main.js b/IPython/html/static/notebook/js/main.js
index 99f7a97..5c41f4b 100644
--- a/IPython/html/static/notebook/js/main.js
+++ b/IPython/html/static/notebook/js/main.js
@@ -46,13 +46,12 @@ require([
) {
"use strict";
+ // compat with old IPython, remove for IPython > 3.0
window.CodeMirror = CodeMirror;
- $('#ipython-main-app').addClass('border-box-sizing');
- $('div#notebook_panel').addClass('border-box-sizing');
var common_options = {
+ ws_url : utils.get_body_data("wsUrl"),
base_url : utils.get_body_data("baseUrl"),
- ws_url : IPython.utils.get_body_data("wsUrl"),
notebook_path : utils.get_body_data("notebookPath"),
notebook_name : utils.get_body_data('notebookName')
};