Mercurial > hg > webaudioevaluationtool
diff js/core.js @ 2665:ad57c5c755d4
radio entry conditionals are being falsed.
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Fri, 17 Mar 2017 11:24:17 +0000 |
parents | 7ebeb0bffc5a |
children | 2f2aaef246af 8f485581ee73 |
line wrap: on
line diff
--- a/js/core.js Thu Mar 16 12:21:41 2017 +0000 +++ b/js/core.js Fri Mar 17 11:24:17 2017 +0000 @@ -992,7 +992,7 @@ console.log("Survey Element of type 'radio' cannot interpret contains/greaterThan/lessThan conditions. IGNORING"); break; case "equals": - if (node.response == condition.value) { + if (node.response.name == condition.value) { pass = true; } break;