• Resolved gtawebb

    (@gtawebb)


    I’m using Simple MathJax with Learndash and it has always worked extremely well.

    In order for MathJax to work inside quiz questions we have to add this code snippet:

    https://www.learndash.com/wp-content/uploads/latex-snippet.txt

    However with V2 of Simple MathJax we now get an error:

    Uncaught TypeError: Cannot read property ‘Queue’ of undefined

    Which clicks through to the line:

    MathJax.Hub.Queue([“Typeset”, MathJax.Hub]);

    (In the second jquery block in the code snippet.)

    Simple MathJax V1.1 still works fine. Please let me know if you can think of any change in V2 which is causing this error. Please can you suggest a fix?

    Thank you.

    • This topic was modified 4 years, 6 months ago by gtawebb.
Viewing 1 replies (of 1 total)
  • Plugin Author pkra

    (@pkra)

    The v2.0 of the plugin defaults to MathJax v3 which has a different API. You can set the plugin to use MathJax v2 in the preference pane until you find a way to upgrade your own code to be MathJax-3-compatible.

Viewing 1 replies (of 1 total)
  • The topic ‘V2 causing Queue error with Learndash’ is closed to new replies.