Skip to content

Commit

Permalink
fix: don't trigger closePhoto in camera
Browse files Browse the repository at this point in the history
  • Loading branch information
TonybynMp4 committed Mar 11, 2024
1 parent de06e4e commit 54a6e4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DSLR Overlay</title>
<title>qbx_camera</title>
<link rel="stylesheet" href="style.css">
<script src="main.js"></script>
</head>
Expand Down
1 change: 1 addition & 0 deletions html/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function updateZoom(zoom) {
}

function closePhoto(_) {
if (cameraLoop) return;
fetch(`https://${GetParentResourceName()}/closePhoto`, {
method: 'POST'
});
Expand Down

0 comments on commit 54a6e4c

Please sign in to comment.