mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 08:38:11 +00:00
record response as int, not string
This commit is contained in:
parent
fe6b321678
commit
e09cc14e7f
@ -91,7 +91,7 @@ jsPsych.plugins['survey-likert'] = (function() {
|
||||
if (el === null) {
|
||||
var response = "";
|
||||
} else {
|
||||
var response = el.value;
|
||||
var response = parseInt(el.value);
|
||||
}
|
||||
var obje = {};
|
||||
obje[id] = response;
|
||||
|
Loading…
Reference in New Issue
Block a user