Commit dcba7970 authored by sajolida's avatar sajolida
Browse files

Fix setting aria-valuenow

parent f0215eaf
...@@ -135,7 +135,7 @@ document.addEventListener('DOMContentLoaded', function() { ...@@ -135,7 +135,7 @@ document.addEventListener('DOMContentLoaded', function() {
function showVerificationProgress(percentage) { function showVerificationProgress(percentage) {
document.getElementById('progress-bar').style.width = percentage + '%'; document.getElementById('progress-bar').style.width = percentage + '%';
document.getElementById('progress-bar').aria-valuenow = percentage; document.getElementById('progress-bar').setAttribute('aria-valuenow', percentage.toString());
} }
function showVerificationResult(result) { function showVerificationResult(result) {
......
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