diff --git a/IPython/frontend/html/notebook/static/js/notebook.js b/IPython/frontend/html/notebook/static/js/notebook.js index cf5c7faf3..d8b287683 100644 --- a/IPython/frontend/html/notebook/static/js/notebook.js +++ b/IPython/frontend/html/notebook/static/js/notebook.js @@ -204,7 +204,9 @@ var IPython = (function (IPython) { if (that.dirty && ! that.read_only) { return "You have unsaved changes that will be lost if you leave this page."; }; - return true; + // Null is the *only* return value that will make the browser not + // pop up the "don't leave" dialog. + return null; }); };