We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The LiteAdaptor's elementsByClass() throws an error about the class.find() argument. In particular
elementsByClass()
class.find()
https://github.com/mathjax/MathJax-src/blob/28233c6d2d3ffea10cd223c11903e4e97079a8ce/ts/adaptors/liteAdaptor.ts#L197-L198
should use classes.includes(name) rather than classes.find(name), and tags.push(n) rather than tags = [].
classes.includes(name)
classes.find(name)
tags.push(n)
tags = []
The text was updated successfully, but these errors were encountered:
Fix LiteAdaptor's elementsByClass() function, and getElements(). Reso…
0109be6
…lves issue mathjax/MathJax#2278.
Merge pull request #416 from mathjax/issue2278
3cb0425
Fix LiteAdaptor's search for elements by class. mathjax/MathJax#2278.
No branches or pull requests
The LiteAdaptor's
elementsByClass()
throws an error about theclass.find()
argument. In particularhttps://github.com/mathjax/MathJax-src/blob/28233c6d2d3ffea10cd223c11903e4e97079a8ce/ts/adaptors/liteAdaptor.ts#L197-L198
should use
classes.includes(name)
rather thanclasses.find(name)
, andtags.push(n)
rather thantags = []
.The text was updated successfully, but these errors were encountered: