Multiple choice quiz - getting NAN on setting a random number

  • Hey everyone,

    I built a multiple quiz for a tour about 10 years ago. I recently updated to the krpano (1.20.11). It loads a random question from xml each time and on the first load it works ok but on loading the next question it is returning NAN on the random number (ranQuestionNum). I've been trying to work out what is doing this but can't for the life of me find the problem.

    I'm hoping someone could run a pair of fresh eyes over the code please and maybe point out the error.

    Any help is much appreciated, thank you

    Einmal editiert, zuletzt von peasn (9. Februar 2023 um 16:47)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!