|
|
@ -21,7 +21,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
document.getElementById('log-text').textContent = `user ${value} entered zone ${node}`;
|
|
|
|
document.getElementById('log-text').textContent = `user ${value} entered zone ${node}`;
|
|
|
|
|
|
|
|
|
|
|
|
if (node === 'node3' && value === '15') {
|
|
|
|
if (node === '3' && value === '15') {
|
|
|
|
// Change the background color to red
|
|
|
|
// Change the background color to red
|
|
|
|
document.body.style.backgroundColor = 'red';
|
|
|
|
document.body.style.backgroundColor = 'red';
|
|
|
|
document.getElementById('location-log').style.display = 'block';
|
|
|
|
document.getElementById('location-log').style.display = 'block';
|
|
|
|