Skip to content

Commit

Permalink
Replace different possibilities of file paths to remove
Browse files Browse the repository at this point in the history
  • Loading branch information
natete authored Jul 13, 2016
1 parent 37add92 commit 97073e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/saveImageGallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function prepareRemoveImageArgs(options) {
options.data = '';
}
// preparing base64 string
options.data = options.data.replace('file://', '');
options.data = options.data.replace('file://', '').replace('file:/', '/');
args.push(options.data);

return args;
Expand Down

0 comments on commit 97073e9

Please sign in to comment.