').addClass('quickhelp').
append($('
').addClass('shortcut_key').append($(shortcut))).
diff --git a/IPython/html/static/notebook/js/toolbar.js b/IPython/html/static/notebook/js/toolbar.js
index fd0b1f06f..4a1c5266a 100644
--- a/IPython/html/static/notebook/js/toolbar.js
+++ b/IPython/html/static/notebook/js/toolbar.js
@@ -98,7 +98,7 @@ define([
_pseudo_action = list.slice(1,-1);
this[_pseudo_action]();
} catch (e) {
- console.warn('ouch, calling ', _pseudo_action, 'does not seem to work...:');
+ console.warn('ouch, calling ', _pseudo_action, 'does not seem to work...:', e);
}
return ;
}
diff --git a/IPython/html/tests/notebook/execute_code.js b/IPython/html/tests/notebook/execute_code.js
index a9551c97e..569a5d14a 100644
--- a/IPython/html/tests/notebook/execute_code.js
+++ b/IPython/html/tests/notebook/execute_code.js
@@ -67,7 +67,7 @@ casper.notebook_test(function () {
cell.clear_output();
cell.set_text('a=13; print(a)');
// 'run button' is the first of the forth group in default config.
- $('#maintoolbar .btn-group:nth(4) .btn:first').click()
+ $('#maintoolbar .btn-group:nth(4) .btn:first').click();
});
this.wait_for_output(0);
diff --git a/IPython/html/tests/notebook/markdown.js b/IPython/html/tests/notebook/markdown.js
index 51a22e0ad..6a554cdcd 100644
--- a/IPython/html/tests/notebook/markdown.js
+++ b/IPython/html/tests/notebook/markdown.js
@@ -29,7 +29,8 @@ casper.notebook_test(function () {
$('#cell_type').val('markdown').change();
var cell = IPython.notebook.get_selected_cell();
cell.set_text('*Baz*');
- $('#maintoolbar .btn-group:nth(4) .btn:first').click()
+ // 'run button' is the first of the forth group in default config.
+ $('#maintoolbar .btn-group:nth(4) .btn:first').click();
return cell.get_rendered();
});
this.test.assertEquals(output.trim(), '
Baz
', 'Markdown toolbar items work.');