Please sign in to comment.
merging upload.js docs into forms-fileinput
- Loading branch information...
Showing with 5 additions and 16 deletions.
|@@ -1,16 +0,0 @@|
|- * File upload support|
|- * It's useful if you want to hide the upload feature of your app on devices that|
|- * don't support it (iphone, ipad, etc).|
|- * Detection is made by testing if the new created upload field is disabled or not.|
|- * If it's disabled, most likely the browser does not support upload.|
|- * By Mircea Georgescu|
|- var el = document.createElement('input');|
|- el.setAttribute('type', 'file');|
|- return !el.disabled;|