mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-12 02:43:50 +00:00
refactor: small tweaks and fixes
This commit is contained in:
Vendored
+1
-1
@@ -48,7 +48,7 @@ const connectSocket = () => {
|
||||
// we only need to read message type of ontime
|
||||
if (type === 'ontime') {
|
||||
// destructure known data from ontime
|
||||
// see https://cpvalente.gitbook.io/ontime/control-and-feedback/websocket-api
|
||||
// see https://docs.getontime.no/api/osc-and-ws/
|
||||
const { timer, playback } = payload;
|
||||
const timerElement = document.getElementById('timer');
|
||||
if (playback == 'stop') {
|
||||
|
||||
+2
-2
@@ -10,5 +10,5 @@
|
||||
|
||||
<body>
|
||||
<div id="timer"></div>
|
||||
<script src="./app.js" type="module"></script>
|
||||
</html>
|
||||
<script src="./app.js" type="text/javascript"></script>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user