Skip to content

Commit 04777b4

Browse files
authored
Merge pull request #3 from adamb70/fix-autosave-submit-handler
Use user autosave delay
2 parents 613fb0f + 7cbfacb commit 04777b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/easymde.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1667,7 +1667,7 @@ EasyMDE.prototype.autosave = function () {
16671667
// Restart autosaving in case the submit will be cancelled down the line
16681668
setTimeout(function() {
16691669
easyMDE.autosave();
1670-
}, 10000);
1670+
}, easyMDE.options.autosave.delay || 10000);
16711671
});
16721672
}
16731673

0 commit comments

Comments
 (0)