mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-05-18 13:46:38 +02:00
Use user autosave delay
This commit is contained in:
parent
265b2ed9d4
commit
7cbfacbbdd
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue