Skip to content

Commit

Permalink
~ Checked: MathJax.Hub undefined.
Browse files Browse the repository at this point in the history
  • Loading branch information
tungnxt89 committed Dec 8, 2022
1 parent 9a1bf62 commit 4398c2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Question extends Component {

LP.Hook.doAction( 'lp-question-compatible-builder' );

if ( typeof MathJax !== 'undefined' ) {
if ( typeof MathJax !== 'undefined' && typeof MathJax.Hub !== 'undefined' ) {
MathJax.Hub.Queue( [ 'Typeset', MathJax.Hub ] );
}

Expand Down

0 comments on commit 4398c2e

Please sign in to comment.