feat(economics): models of production update latex labels
This commit is contained in:
parent
720658bf47
commit
9c2f993d8f
1 changed files with 16 additions and 0 deletions
|
|
@ -662,3 +662,19 @@ document.addEventListener("DOMContentLoaded", function () {
|
|||
drawRomerSolowChangeGraph();
|
||||
window.onresize = drawRomerSolowChangeGraph();
|
||||
});
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
MathJax.typeset()
|
||||
document.querySelectorAll(".sliders").forEach((slidersDiv) => {
|
||||
slidersDiv.addEventListener("input", function (event) {
|
||||
const graphDiv = slidersDiv.previousElementSibling;
|
||||
if (graphDiv && graphDiv.querySelector("svg")) {
|
||||
const svg = graphDiv.querySelector("svg");
|
||||
svg.querySelectorAll("foreignObject body").forEach((body) => {
|
||||
MathJax.typesetPromise([body]);
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue