Skip to content

Commit

Permalink
minor bug fix, define 'var' in dialog.js.
Browse files Browse the repository at this point in the history
The 'cell' variable isn't defined and causes and error in the
console
  • Loading branch information
Zsailer committed Aug 19, 2013
1 parent e429a57 commit 55e47df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/html/static/base/js/dialog.js
Expand Up @@ -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();
}
});
Expand Down

0 comments on commit 55e47df

Please sign in to comment.