Skip to content

Commit

Permalink
made the s/defualt/default/ change backwards compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Rovak committed Nov 3, 2015
1 parent a3d6f62 commit d8297b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inline-attachment.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
formData = new FormData(),
xhr = new XMLHttpRequest(),
settings = this.settings,
extension = settings.defaultExtension;
extension = settings.defaultExtension || settings.defualtExtension;

if (typeof settings.setupFormData === 'function') {
settings.setupFormData(formData, file);
Expand Down

0 comments on commit d8297b8

Please sign in to comment.