Skip to content
Permalink
Browse files
replace double quotes with single quotes
  • Loading branch information
janpio committed Oct 3, 2018
1 parent eb57b02 commit c1b9772dca33fd796865ddf75f8ec611430cc09a
Showing 1 changed file with 1 addition and 1 deletion.
@@ -802,7 +802,7 @@ function savePhoto(picture, options, successCallback, errorCallback) {
} else {
// CB-11714: check if target content-type is PNG to just rename as *.jpg since camera is captured as JPEG
if (options.encodingType === Camera.EncodingType.PNG) {
picture.name = picture.name.replace(/\.png$/, ".jpg");
picture.name = picture.name.replace(/\.png$/, '.jpg');
}

picture.copyAsync(getAppData().localFolder, picture.name, OptUnique).done(function (copiedFile) {

0 comments on commit c1b9772

Please sign in to comment.