setInterval( () => { if(state.textContent == 'on') { websocket.send(JSON.stringify({ action: 'plus' })); } }, 50)
No comments yet.