Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 757bf96 commit 7a392f6Copy full SHA for 7a392f6
1 file changed
IPython/frontend/html/notebook/static/js/notebook.js
@@ -1570,7 +1570,9 @@ var IPython = (function (IPython) {
1570
this.autosave_interval = interval;
1571
if (interval) {
1572
this.autosave_timer = setInterval(function() {
1573
- that.save_notebook();
+ if (that.dirty) {
1574
+ that.save_notebook();
1575
+ }
1576
}, interval);
1577
$([IPython.events]).trigger("autosave_enabled.Notebook", interval);
1578
} else {
0 commit comments