Bug fixes, image uploader

This commit is contained in:
dignajar 2015-11-04 23:54:22 -03:00
parent b667588d2e
commit 061a94627f
2 changed files with 3 additions and 3 deletions

View File

@ -159,7 +159,7 @@ class HTML {
$("#jsaddImage").on("click", function() {
var filename = $("#jsimageList option:selected").text();
var textareaValue = $("#jscontent").val();
$("#jscontent").val(textareaValue + filename + "\n");
$("#jscontent").val(textareaValue + "<img src=\""+filename+"\" alt=\"\">" + "\n");
});
$(function()