1
0
mirror of https://github.com/balkian/shinesp.git synced 2024-12-22 05:28:12 +00:00

Fix bug JS

This commit is contained in:
J. Fernando Sánchez 2017-12-18 16:50:48 +01:00
parent 319df52452
commit aa3ce00ef6

View File

@ -47,7 +47,8 @@
ready = true; ready = true;
}; };
}; };
xhttp.open("GET", "http://192.168.0.104/off", true); ip = document.getElementById("ip-address").value ;
xhttp.open("GET", ip + "/off", true);
xhttp.send(); xhttp.send();
} }
</script> </script>