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

wip

parent 692a9700
No related branches found
No related tags found
No related merge requests found
......@@ -170,8 +170,10 @@ path = admin_communication_unsplash_path(website_id: nil, format: :json)
if (!inputImage) {
inputImage = document.createElement('img');
inputImage.classList.add('img-fluid', 'img-thumb');
inputImage.classList.add('img-fluid', 'img-thumbnail');
inputImage.width = 1000;
inputImageContainer.append(inputImage);
// Ajouter sdfi-deletable-file--with-file au parent .sdfi-deletable-file
}
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