diff --git a/app/templates/index.html b/app/templates/index.html index 22dfcd3..383dc93 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -34,15 +34,15 @@
- - - - - - - - - + + + + + + + + +
{% endfor %} diff --git a/static/js/app.js b/static/js/app.js index b5b7ff4..ef0ac24 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -47,7 +47,7 @@ function toggleFullscreen(cameraId) { } } -function switchCameraNumber(cameraId, cameraNumber) { +function switchCameraNumber(event, cameraId, cameraNumber) { const frame = document.getElementById(`frame-${cameraId}`); const controls = document.getElementById(`controls-${cameraId}`); const buttons = controls.querySelectorAll('.selector-btn');