1
0
mirror of https://github.com/ae-utbm/sith.git synced 2025-04-22 01:18:03 +00:00

Merge branch 'fix-webcam-error' into 'master'

Front: turn Webcam.js error from an alert to a console log

See merge request 
This commit is contained in:
Antoine Bartuccio 2020-03-05 19:20:22 +01:00
commit 7ee4557ab5

@ -52,6 +52,7 @@
{% if not form.instance.profile_pict %}
<script src="{{ static('core/js/webcam.js') }}"></script>
<script language="JavaScript">
Webcam.on('error', function(msg) { console.log('Webcam.js error: ' + msg) })
Webcam.set({
width: 320,
height: 240,