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.
|
||||
var attach = function (targetId) {
|
||||
var attach = function (target) {
|
||||
if (typeof(target) == "string") {
|
||||
target = $("#" + target);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue