Fixed resize bug when embedded.
parent
0dcc4503f9
commit
bc9b787e78
|
@ -424,6 +424,7 @@ H5P.QuestionSet = function (options, contentId) {
|
|||
|
||||
// Masquerade the main object to hide inner properties and functions.
|
||||
var returnObject = {
|
||||
$: $(this),
|
||||
attach: attach, // Attach to DOM object
|
||||
getQuestions: function () {return questionInstances;},
|
||||
getScore: getScore,
|
||||
|
|
12
library.json
12
library.json
|
@ -3,17 +3,21 @@
|
|||
"contentType": "question",
|
||||
"majorVersion": 1,
|
||||
"minorVersion": 0,
|
||||
"patchVersion": 45,
|
||||
"patchVersion": 46,
|
||||
"runnable": 1,
|
||||
"fullscreen": 0,
|
||||
"machineName": "H5P.QuestionSet",
|
||||
"author": "Amendor AS",
|
||||
"license": "cc-by-sa",
|
||||
"preloadedJs": [
|
||||
{"path": "js/questionset.js"}
|
||||
{
|
||||
"path": "js/questionset.js"
|
||||
}
|
||||
],
|
||||
"preloadedCss": [
|
||||
{"path": "css/questionset.css"}
|
||||
{
|
||||
"path": "css/questionset.css"
|
||||
}
|
||||
],
|
||||
"preloadedDependencies": [
|
||||
{
|
||||
|
@ -44,4 +48,4 @@
|
|||
"minorVersion": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue