mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +01:00
Contacts: Set height of contact photo.
This commit is contained in:
parent
3248ae6c09
commit
712b75c73b
@ -957,7 +957,7 @@ OC.Contacts = OC.Contacts || {};
|
||||
this.photo = new Image();
|
||||
$(this.photo).load(function () {
|
||||
$(this).addClass('contactphoto');
|
||||
self.$photowrapper.css('width', $(this).get(0).width + 10);
|
||||
self.$photowrapper.css({width: $(this).get(0).width + 10, height: $(this).get(0).height + 10});
|
||||
self.$photowrapper.removeClass('loading').removeClass('wait');
|
||||
$(this).insertAfter($phototools).fadeIn();
|
||||
}).error(function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user