Skip to content

Commit

Permalink
fix path in url in field quantumfield
Browse files Browse the repository at this point in the history
dmitriitux committed Jan 20, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent e6ed6c0 commit 734f9d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fields/quantumuploadimage/media/js/field.js
Original file line number Diff line number Diff line change
@@ -80,7 +80,7 @@ function updateImage(wrap, image) {
let preview = wrap.querySelector('.quantumuploadimage-preview');
if (image !== '') {
preview.classList.add('quantumuploadimage-preview-active');
preview.innerHTML = '<img src="' + QuantumSettings.urlRoot + '/' + image + '" />';
preview.innerHTML = '<img src="' + QuantumSettings.urlRoot + image + '" />';
} else {
preview.classList.remove('quantumuploadimage-preview-active');
}

0 comments on commit 734f9d5

Please sign in to comment.