Fixed resize bug when embedded.

d3summaryChart
Frode Petterson 2014-04-11 15:50:22 +02:00
parent 0dcc4503f9
commit bc9b787e78
2 changed files with 9 additions and 4 deletions

View File

@ -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,

View File

@ -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
}
]
}
}