Typo fixed
This commit is contained in:
parent
fa90339fea
commit
8f10cd9e8e
2 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue