Skip to content

Commit db23778

Browse files
committed
device cam: hide elements on init and reset
Change-Id: Ie8ca299f8b5542ecdd98e4086d40719b1c334196
1 parent 26b85de commit db23778

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,7 @@
126126
<i class="fa fa-cog fa-spin"></i>
127127
</div>
128128

129-
<?php if ($config['previewFromCam']): ?>
130129
<video id="video--view" autoplay playsinline></video>
131-
<?php endif; ?>
132130

133131
<div id="counter">
134132
<canvas id="video--sensor"</canvas>

resources/js/core.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ const photoBooth = (function () {
7171
gallery.find('.gallery__inner').hide();
7272
$('.spinner').hide();
7373
$('.send-mail').hide();
74+
$('#video--view').hide();
75+
$('#video--sensor').hide();
7476
public.resetMailForm();
7577
}
7678

0 commit comments

Comments
 (0)