Merge pull request #3 from adamb70/fix-autosave-submit-handler

Use user autosave delay
pull/31/head
adamb70 6 years ago committed by GitHub
commit 04777b49fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save