Actualizacion general

parent aff08f14
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<div class="col-md-12"> <div class="col-md-12">
<div id="tomarFotoContainer" style="display:none"> <div id="tomarFotoContainer" style="display:none">
<div class="form-group"> <div class="form-group">
<div class="camera" style="display: block"> <div id="cameraContainer" class="camera" style="display: block">
<video id="video" width="600" height="315">No se encuentra disponible una camara</video> <video id="video" width="600" height="315">No se encuentra disponible una camara</video>
<button id="startbutton">Tomar Foto</button> <button id="startbutton">Tomar Foto</button>
</div> </div>
...@@ -131,6 +131,7 @@ ...@@ -131,6 +131,7 @@
event.preventDefault(); event.preventDefault();
console.log("mostrando tomar foto..."); console.log("mostrando tomar foto...");
$("#tomarFotoContainer").show(); $("#tomarFotoContainer").show();
$("#cameraContainer").show();
$("#subirFotoContainer").hide(); $("#subirFotoContainer").hide();
imagenTomada = false; imagenTomada = false;
imagenTomada = true; imagenTomada = true;
......
...@@ -105,6 +105,8 @@ ...@@ -105,6 +105,8 @@
} else { } else {
clearphoto(); clearphoto();
} }
$("#cameraContainer").hide();
} }
/** /**
......
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