Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quiz Start button does not unhide questionset #121

Open
ymdahi opened this issue Apr 17, 2023 · 0 comments
Open

Quiz Start button does not unhide questionset #121

ymdahi opened this issue Apr 17, 2023 · 0 comments

Comments

@ymdahi
Copy link

ymdahi commented Apr 17, 2023

Problem

When a Quiz has Title enabled, clicking on the "Start Quiz" button does not unhide the Questions (.questionset)

Tested on v 1.20.11.

Example: https://studio.libretexts.org/h5p/14416/embed

Possible Solution

Consider replace L1035:

$('.questionset', $myDom).show();

With:

$('.questionset', $myDom).removeClass('hidden');

Or

let questionRegion = myDom.querySelector('.questionset');
questionRegion.classList.remove('hidden');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant