mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-24 10:24:29 -06: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…
x
Reference in New Issue
Block a user