diff options
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/mobile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/mobile.js b/www/js/mobile.js index 29ea0d7..66b83be 100644 --- a/www/js/mobile.js +++ b/www/js/mobile.js @@ -459,7 +459,7 @@ function takePhoto(type) { if ( type == navigator.camera.PictureSourceType.CAMERA ) { save_to_album = true; } - navigator.camera.getPicture(takePhotoSuccess, takePhotoFail, { saveToPhotoAlbum: save_to_album, quality: 50, destinationType: Camera.DestinationType.FILE_URI, sourceType: type }); + navigator.camera.getPicture(takePhotoSuccess, takePhotoFail, { saveToPhotoAlbum: save_to_album, quality: 50, destinationType: Camera.DestinationType.FILE_URI, sourceType: type, correctOrientation: true }); } function check_name( name, msg ) { |