summary refs log tree commit diff
path: root/syweb/webclient/components/fileInput/file-input-directive.js
diff options
context:
space:
mode:
Diffstat (limited to 'syweb/webclient/components/fileInput/file-input-directive.js')
-rw-r--r--syweb/webclient/components/fileInput/file-input-directive.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/syweb/webclient/components/fileInput/file-input-directive.js b/syweb/webclient/components/fileInput/file-input-directive.js
index 9c849a140f..e530c06085 100644
--- a/syweb/webclient/components/fileInput/file-input-directive.js
+++ b/syweb/webclient/components/fileInput/file-input-directive.js
@@ -25,7 +25,8 @@ angular.module('mFileInput', [])
     return {
         restrict: 'A',
         transclude: 'true',
-        template: '<div ng-transclude></div><input ng-hide="true" type="file" accept="image/*"/>',
+        // FIXME: add back in accept="image/*" when needed - e.g. for avatars
+        template: '<div ng-transclude></div><input ng-hide="true" type="file"/>',
         scope: {
             selectedFile: '=mFileInput'
         },