mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-01 07:01:04 -06:00
Merge pull request #3 from adamb70/fix-autosave-submit-handler
Use user autosave delay
This commit is contained in:
commit
04777b49fb
@ -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