Skip to content

Commit

Permalink
Fix setting targetHeight option for getPicture.
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianRodziewicz committed Oct 15, 2014
1 parent 4f2b308 commit 5bf27f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mdg:camera/photo-cordova.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ MeteorCamera.getPicture = function (options, callback) {
_.extend(options, {
quality: options.quality || 49,
targetWidth: options.width || 640,
targetHeight: options.width || 480,
targetHeight: options.height || 480,
destinationType: Camera.DestinationType.DATA_URL
})
);
Expand Down

0 comments on commit 5bf27f6

Please sign in to comment.