cambios

parent 2e93b1c8
......@@ -275,11 +275,13 @@
var img = new Image();
img.src = source;
fotoActual.attr("src", img.src);
fotoActual.show();
} else {
var fotoActual = $("#imagen_carga");
var img = new Image();
img.src = source;
fotoActual.css("src", img.src.replace(/(\r\n|\n|\r)/gm, ""));
fotoActual.show();
}
......
......@@ -108,6 +108,7 @@
var img = new Image();
img.src = data;
fotoActual.attr("src", img.src.replace(/(\r\n|\n|\r)/gm, "") );
fotoActual.show();
} else {
clearphoto();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment