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