1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-18 07:52:21 +01:00

Fix undefined var

This commit is contained in:
Thomas Tanghus 2014-03-23 12:08:56 +01:00
parent ad2d20ba2d
commit d4283bed80

View File

@ -1591,7 +1591,7 @@ OC.Contacts = OC.Contacts || {
tmpkey
))
.then(function(image) {
var x = 5, y = 5, w = h = Math.min(image.width, image.height);
var x = 5, y = 5, w = Math.min(image.width, image.height), h = w;
//$dlg.css({'min-width': w, 'min-height': h});
console.log(x,y,w,h);
$(image).attr('id', 'cropbox').prependTo($dlg).show()