diff options
-rw-r--r-- | templates/avatar.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/avatar.html b/templates/avatar.html index b49601a1..c09024ca 100644 --- a/templates/avatar.html +++ b/templates/avatar.html @@ -1,7 +1,7 @@ <div ng-if="ctrl.contact.failedProps.indexOf('photo') !== -1" class="icon-error"></div> <img ng-show="contact.photo()!==undefined" class="contactdetails__logo avatar" id="contact-avatar" data-ng-src="{{contact.photo()}}" ng-click="ctrl.openPhoto()" /> <div class="avatar-options"> - <input type="file" id="avatar-upload" class="hidden"/> + <input type="file" id="avatar-upload" class="hidden" accept="image/*" /> <label for="avatar-upload" class="icon-upload-white"></label> <div class="icon-delete-white" ng-show="contact.photo()!==undefined" ng-click="ctrl.removePhoto()"></div> <div class="icon-fullscreen-white" ng-show="contact.photo()!==undefined" ng-click="ctrl.openPhoto()"></div> |