Commit 7495f676 by Francis Cornejo

Arreglando error de navegador no tiene includes

parent f135def2
Showing with 2 additions and 2 deletions
......@@ -600,14 +600,14 @@ function procesaEsp(){
case 10:
var str = "0PCNT?";
ready = respuesta.split('|');
if(respuesta.includes(str)){
if(respuesta.indexOf(str) !== -1){
abreVentana(ready[1], ready[2]);
}
else{
document.getElementById('DatosPaciente').innerHTML = respuesta;
}
if(!respuesta.includes('....')){
if((respuesta.indexOf('....') == -1)){
document.getElementById('lyLaboratorio').style.display="block";
}
......
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 sign in to comment