Fix problems with transition messing up height and width calculations
parent
7c0e4e4b85
commit
da62f4f41a
|
@ -300,9 +300,12 @@ H5P.QuestionSet = function (options, contentId) {
|
|||
}
|
||||
}
|
||||
|
||||
// Allow other libraries to add transitions after the questions have been inited
|
||||
$('.questionset', $myDom).addClass('started');
|
||||
|
||||
$('.qs-startbutton', $myDom).click(function () {
|
||||
$(this).parents('.intro-page').hide();
|
||||
$('.questionset', $myDom).addClass('started').removeClass('hidden');
|
||||
$('.questionset', $myDom).removeClass('hidden');
|
||||
});
|
||||
|
||||
// Set event listeners.
|
||||
|
|
Loading…
Reference in New Issue