We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5608e4f commit a1be4e4Copy full SHA for a1be4e4
examples/examples.js
@@ -84,7 +84,7 @@ var addExample = function(fg, bg) {
84
display.style.fontWeight = font_weight;
85
display.style.padding = PADDING[wcag_level];
86
87
- clone.querySelector('.wcag output').textContent = wcag.abs(wcag_contrast).toFixed(1);
+ clone.querySelector('.wcag output').textContent = wcag_contrast.toFixed(1);
88
clone.querySelector('.wcag .badge').textContent = LEVEL_LABELS[wcag_level];
89
clone.querySelector('.wcag .badge').classList.add(`badge-${LEVEL_LABELS[wcag_level]}`);
90
0 commit comments