Skip to content

Commit

Permalink
Merge pull request #130 from xmera-circle/bug/uncaught-type-error-mat…
Browse files Browse the repository at this point in the history
…hjax-hub

Fixes uncaught type error
  • Loading branch information
mikitex70 authored Sep 16, 2023
2 parents eaefe78 + f683a5d commit 0d42bf3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/javascripts/drawioEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,9 @@ window.onDrawioViewerLoad = function() {
GraphViewer.processElements();
// Make sure MathJax sees the SVG generated by te viewer
if(typeof(MathJax) !== 'undefined') {
if (typeof(MathJax.Hub) !== 'undefined') {
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
}
}
}

Expand Down

0 comments on commit 0d42bf3

Please sign in to comment.