From 712b75c73b9cde995fe0478e60f45d9376d8c3fb Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Tue, 11 Dec 2012 14:42:29 +0100 Subject: [PATCH] Contacts: Set height of contact photo. --- js/contacts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/contacts.js b/js/contacts.js index 078d412f..780d5ea1 100644 --- a/js/contacts.js +++ b/js/contacts.js @@ -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 () {