Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: aria-labelledby attribute has an extra space
The aria-labelledby attribute on the fontPercent, edgeStyle, and fontFamily select options inlcudes an extra space since there is no ledgendId variable being set on the createElFont_() method. This fix adds a check to see if the legendId value is set or not inside the createElSelect_() method. This should keep the extra space from appearing on the select tags created by the createElFont_() method. Fixes videojs#4688
- Loading branch information