cambios

parent 2e93b1c8
...@@ -275,11 +275,13 @@ ...@@ -275,11 +275,13 @@
var img = new Image(); var img = new Image();
img.src = source; img.src = source;
fotoActual.attr("src", img.src); fotoActual.attr("src", img.src);
fotoActual.show();
} else { } else {
var fotoActual = $("#imagen_carga"); var fotoActual = $("#imagen_carga");
var img = new Image(); var img = new Image();
img.src = source; img.src = source;
fotoActual.css("src", img.src.replace(/(\r\n|\n|\r)/gm, "")); fotoActual.css("src", img.src.replace(/(\r\n|\n|\r)/gm, ""));
fotoActual.show();
} }
......
...@@ -108,6 +108,7 @@ ...@@ -108,6 +108,7 @@
var img = new Image(); var img = new Image();
img.src = data; img.src = data;
fotoActual.attr("src", img.src.replace(/(\r\n|\n|\r)/gm, "") ); fotoActual.attr("src", img.src.replace(/(\r\n|\n|\r)/gm, "") );
fotoActual.show();
} else { } else {
clearphoto(); 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