Use user autosave delay

This commit is contained in:
adamb70 2018-11-08 18:35:44 +00:00
parent 265b2ed9d4
commit 7cbfacbbdd

View file

@ -1667,7 +1667,7 @@ EasyMDE.prototype.autosave = function () {
// Restart autosaving in case the submit will be cancelled down the line
setTimeout(function() {
easyMDE.autosave();
}, 10000);
}, easyMDE.options.autosave.delay || 10000);
});
}