Typo fixed

This commit is contained in:
Kai Lauterbach 2023-05-03 14:17:06 +02:00
parent fa90339fea
commit 8f10cd9e8e
2 changed files with 2 additions and 2 deletions

View file

@ -242,7 +242,7 @@ xhr.open('GET', 'http://{{IP_ADDRESS}}/?on' + id + '=true&transition=' + documen
xhr.send();
updateLightState();
this.classList.remove('pure-button-primary');
this.classList.add('pure-button-primary');
document.getElementById('on'+id+'_off').classList.remove('pure-button-primary');
});
});

View file

@ -242,7 +242,7 @@
// Sende die Anfrage im Hintergrund
xhr.send();
updateLightState();
this.classList.remove('pure-button-primary');
this.classList.add('pure-button-primary');
document.getElementById('on'+id+'_off').classList.remove('pure-button-primary');
});
});