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:
parent
ad2d20ba2d
commit
d4283bed80
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user