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

Commit 542f1ac

Browse files
authored
Merge pull request #319 from OpenBazaar/undoChangeThatBrokePhotoUpload
Removes encodeURI on photo path that breaks photo upload.
2 parents f4ec4ad + 1bcc8d0 commit 542f1ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/views/modals/editListing/EditListing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ export default class extends BaseModal {
282282
photoFiles.forEach(photoFile => {
283283
const newImage = document.createElement('img');
284284

285-
newImage.src = encodeURI(photoFile.path);
285+
newImage.src = photoFile.path;
286286

287287
newImage.onload = () => {
288288
const imgW = newImage.width;

0 commit comments

Comments
 (0)