Define the variables

This commit is contained in:
Aleks Rūtiņš 2024-06-02 13:09:30 -04:00
parent b3b84d42d4
commit a4ae02eb0a
5 changed files with 37 additions and 4 deletions

View file

@ -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()) {