Merge pull request #185 from wolfgangwalther/patch-3

Correct wrong preamble css class and id in plugin-survey-text
This commit is contained in:
Josh de Leeuw 2015-12-08 16:21:56 -05:00
commit fc01b8581b

View File

@ -46,11 +46,11 @@
// show preamble text // show preamble text
display_element.append($('<div>', { display_element.append($('<div>', {
"id": 'jspsych-survey-likert-preamble', "id": 'jspsych-survey-text-preamble',
"class": 'jspsych-survey-likert-preamble' "class": 'jspsych-survey-text-preamble'
})); }));
$('#jspsych-survey-likert-preamble').html(trial.preamble); $('#jspsych-survey-text-preamble').html(trial.preamble);
// add questions // add questions
for (var i = 0; i < trial.questions.length; i++) { for (var i = 0; i < trial.questions.length; i++) {