Fix bug in questionsets.js
parent
f9e8360a7f
commit
b98ef0fc7a
|
@ -167,7 +167,7 @@ H5P.QuestionSet = function (options) {
|
||||||
};
|
};
|
||||||
|
|
||||||
// Function for attaching the multichoice to a DOM element.
|
// Function for attaching the multichoice to a DOM element.
|
||||||
var attach = function (targetId) {
|
var attach = function (target) {
|
||||||
if (typeof(target) == "string") {
|
if (typeof(target) == "string") {
|
||||||
target = $("#" + target);
|
target = $("#" + target);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue