Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleš committed Aug 18, 2017
1 parent 64df926 commit d418dac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/templates/bootstrap_v4/js.latte
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,12 @@ if (previewNode) {
{* addedfile *}
this.on("addedfile", function(file) {
var removeLink = file.previewElement.querySelector("[data-dz-remove]");
var col = Dropzone.createElement("<div class=\"order-4 order-lg-3 col-auto ml-auto text-truncate\"></div>");
var col = Dropzone.createElement("<div>");
removeLink.classList.add("text-danger");
col.classList = "order-4 order-lg-3 col-auto ml-auto text-truncate";
col.appendChild(removeLink);
file.previewElement.appendChild(col);
});

Expand Down

0 comments on commit d418dac

Please sign in to comment.