diff --git a/src/assets/hestia.js b/src/assets/hestia.js index f3a357f..a2553c3 100644 --- a/src/assets/hestia.js +++ b/src/assets/hestia.js @@ -49,7 +49,7 @@ function refreshState(doc, state) { console.log('State refreshed.'); } -function power(element) { +function togglePower(element) { psState[element].power(comms); refreshState(window.document, psState); } \ No newline at end of file diff --git a/src/index.html b/src/index.html index ded3718..7846e59 100644 --- a/src/index.html +++ b/src/index.html @@ -42,13 +42,13 @@
- +
- +
- +