Define the variables
This commit is contained in:
parent
b3b84d42d4
commit
a4ae02eb0a
5 changed files with 37 additions and 4 deletions
|
@ -2,7 +2,7 @@ function defineVars(vars) {
|
|||
const data = new Map(vars);
|
||||
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
const mathVars = document.querySelectorAll('span.katex span.mord.mathnormal');
|
||||
const mathVars = document.querySelectorAll('span.katex span.mord');
|
||||
|
||||
mathVars.forEach(el => {
|
||||
for (const [v, help] of data.entries()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue