Skip to content

Commit a1be4e4

Browse files
authored
Update examples.js
1 parent 5608e4f commit a1be4e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/examples.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ var addExample = function(fg, bg) {
8484
display.style.fontWeight = font_weight;
8585
display.style.padding = PADDING[wcag_level];
8686

87-
clone.querySelector('.wcag output').textContent = wcag.abs(wcag_contrast).toFixed(1);
87+
clone.querySelector('.wcag output').textContent = wcag_contrast.toFixed(1);
8888
clone.querySelector('.wcag .badge').textContent = LEVEL_LABELS[wcag_level];
8989
clone.querySelector('.wcag .badge').classList.add(`badge-${LEVEL_LABELS[wcag_level]}`);
9090

0 commit comments

Comments
 (0)