Commit 7ee4557a authored by Sli's avatar Sli

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

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

See merge request !265
parents 9176a03a 5accdbcc
Pipeline #2175 passed with stage
in 30 minutes and 24 seconds
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment