Skip to content

Commit 41bf7cc

Browse files
committed
Fix typo in vedor extension
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
1 parent 9cbe03d commit 41bf7cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

public/vendor/inlineAttachment/inline-attachment.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
* Extension which will be used when a file extension could not
132132
* be detected
133133
*/
134-
defualtExtension: 'png',
134+
defaultExtension: 'png',
135135

136136
/**
137137
* JSON field which refers to the uploaded file URL
@@ -220,7 +220,7 @@
220220
xhr = new XMLHttpRequest(),
221221
id = id,
222222
settings = this.settings,
223-
extension = settings.defualtExtension;
223+
extension = settings.defaultExtension;
224224

225225
if (typeof settings.setupFormData === 'function') {
226226
settings.setupFormData(formData, file);

0 commit comments

Comments
 (0)