minor bug fix, define 'var' in dialog.js.

The 'cell' variable isn't defined and causes and error in the
console
pull/37/head
Zachary Sailer 13 years ago
parent a133236f56
commit a16211ceff

@ -68,7 +68,7 @@ IPython.dialog = (function (IPython) {
if (options.reselect_cell !== false) {
dialog.on("hidden", function () {
if (IPython.notebook) {
cell = IPython.notebook.get_selected_cell();
var cell = IPython.notebook.get_selected_cell();
if (cell) cell.select();
}
});

Loading…
Cancel
Save