mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 16:48:12 +00:00
Merge pull request #185 from wolfgangwalther/patch-3
Correct wrong preamble css class and id in plugin-survey-text
This commit is contained in:
commit
fc01b8581b
@ -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++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user