Fix bug in questionsets.js

pull/1/head
Svein-Tore Griff With 2013-01-16 22:01:39 +01:00
parent f9e8360a7f
commit b98ef0fc7a
1 changed files with 1 additions and 1 deletions

View File

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