Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #319 from OpenBazaar/undoChangeThatBrokePhotoUpload
Browse files Browse the repository at this point in the history
Removes encodeURI on photo path that breaks photo upload.
  • Loading branch information
jjeffryes authored Jan 17, 2017
2 parents f4ec4ad + 1bcc8d0 commit 542f1ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/views/modals/editListing/EditListing.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export default class extends BaseModal {
photoFiles.forEach(photoFile => {
const newImage = document.createElement('img');

newImage.src = encodeURI(photoFile.path);
newImage.src = photoFile.path;

newImage.onload = () => {
const imgW = newImage.width;
Expand Down

0 comments on commit 542f1ac

Please sign in to comment.