Files
notifications-admin/app/templates/components/webauthn-api-check.html
T

8 lines
260 B
HTML
Raw Normal View History

{% macro webauthn_api_check() %}
<script>
if ('credentials' in window.navigator) {
document.body.className = ((document.body.className) ? document.body.className + ' webauthn-api-enabled' : 'webauthn-api-enabled');
}
</script>
{% endmacro %}