Fix typo in vedor extension
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
		
							parent
							
								
									9cbe03d8a8
								
							
						
					
					
						commit
						41bf7cc52f
					
				@ -131,7 +131,7 @@
 | 
				
			|||||||
     * Extension which will be used when a file extension could not
 | 
					     * Extension which will be used when a file extension could not
 | 
				
			||||||
     * be detected
 | 
					     * be detected
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    defualtExtension: 'png',
 | 
					    defaultExtension: 'png',
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * JSON field which refers to the uploaded file URL
 | 
					     * JSON field which refers to the uploaded file URL
 | 
				
			||||||
@ -220,7 +220,7 @@
 | 
				
			|||||||
      xhr = new XMLHttpRequest(),
 | 
					      xhr = new XMLHttpRequest(),
 | 
				
			||||||
      id = id,
 | 
					      id = id,
 | 
				
			||||||
      settings = this.settings,
 | 
					      settings = this.settings,
 | 
				
			||||||
      extension = settings.defualtExtension;
 | 
					      extension = settings.defaultExtension;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (typeof settings.setupFormData === 'function') {
 | 
					    if (typeof settings.setupFormData === 'function') {
 | 
				
			||||||
      settings.setupFormData(formData, file);
 | 
					      settings.setupFormData(formData, file);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user