Skip to content

Commit

Permalink
device cam: hide elements on init and reset
Browse files Browse the repository at this point in the history
Change-Id: Ie8ca299f8b5542ecdd98e4086d40719b1c334196
  • Loading branch information
andi34 committed Jan 26, 2020
1 parent abef4c9 commit c431dd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,7 @@
<i class="fa fa-cog fa-spin"></i>
</div>

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

<div id="counter">
<canvas id="video--sensor"</canvas>
Expand Down
2 changes: 2 additions & 0 deletions resources/js/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ const photoBooth = (function () {
gallery.find('.gallery__inner').hide();
$('.spinner').hide();
$('.send-mail').hide();
$('#video--view').hide();
$('#video--sensor').hide();
public.resetMailForm();
}

Expand Down

0 comments on commit c431dd5

Please sign in to comment.