Some compound contents like IV instantiate the content but don't attach it to the DOM right away. Since the clozes were not created
before content is being attached, calling getMaxScore before the content was attached yielded 0 instead of the correct number.
Some compound contents like IV instantiate the content but don't attach it to the DOM right away. Since the clozes were not created before content is being attached, calling getMaxScore before the content was attached yielded 0 instead of the correct number.
Reported at https://h5p.org/node/1060015 and fixed here.