Use user autosave delay

pull/31/head^2
adamb70 6 years ago
parent 265b2ed9d4
commit 7cbfacbbdd

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

Loading…
Cancel
Save