Skip to content

Commit 2419bfc

Browse files
dpvczorkow
andauthored
Update ts/a11y/explorer/Region.ts
Co-authored-by: Volker Sorge <v.sorge@mathjax.org>
1 parent f6715ed commit 2419bfc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ts/a11y/explorer/Region.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ export class LiveRegion extends StringRegion {
465465
css.setProperty(name, value);
466466
}
467467
const oname = `--mjx-${type}${priority}-alpha`;
468-
if (css.getPropertyValue(name) !== String(opacity)) {
468+
if (css.getPropertyValue(oname) !== String(opacity)) {
469469
css.setProperty(oname, opacity);
470470
(style.sheet.cssRules[1] as any).cssRules[0].style.setProperty(
471471
oname,

0 commit comments

Comments
 (0)