Commit 7fb26f9e authored by tleb's avatar tleb

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

parent 9176a03a
Pipeline #2173 passed with stage
in 40 minutes and 29 seconds
......@@ -52,6 +52,7 @@
{% if not form.instance.profile_pict %}
<script src="{{ static('core/js/webcam.js') }}"></script>
<script language="JavaScript">
Webcam.hooks.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