replace double quotes with single quotes

This commit is contained in:
Jan Piotrowski 2018-10-03 20:54:06 +02:00 committed by GitHub
parent eb57b02ba8
commit c1b9772dca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {