Skip to content
Snippets Groups Projects
Commit 3639e8b1 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

wip

parent bbbdae5c
No related branches found
No related tags found
No related merge requests found
......@@ -168,11 +168,11 @@ path = admin_communication_unsplash_path(website_id: nil, format: :json)
this.selected = image;
if (!inputImage) (
if (!inputImage) {
inputImage = document.createElement('img');
// add img-fluid img-thumb
inputImage.classList.add('img-fluid img-thumb');
inputImageContainer.append(img);
)
}
if (inputImage) {
inputImage.setAttribute('src', image.preview);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment