]> git.mxchange.org Git - friendica.git/blobdiff - view/js/ajaxupload.js
Remove DI dependency from Module\Contact\Profile
[friendica.git] / view / js / ajaxupload.js
index 533fe2e924ef9cc7b98ee70ad37ca1d4f7791bb2..ebbbfda45c15fd8cef3969dac928c3409f5c832f 100644 (file)
@@ -75,7 +75,7 @@
     };
 
     
-    // Needs more testing, will be rewriten for next version        
+    // Needs more testing, will be rewritten for next version        
     // getOffset function copied from jQuery lib (http://jquery.com/)
     if (document.documentElement.getBoundingClientRect){
         // Get Offset using getBoundingClientRect
     /**
      * Get file extension lowercase
      * @param {String} file name
-     * @return file extenstion
+     * @return file extension
      */    
     function getExt(file){
         return (-1 !== file.indexOf('.')) ? file.replace(/.*[.]/, '') : '';