Mercurial > hg > webaudioevaluationtool
diff js/core.js @ 2316:0ca5bcfdc2d4
Fix for #16
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Fri, 29 Apr 2016 15:48:11 +0100 |
parents | 483bd6573747 |
children | 6897339ac651 |
line wrap: on
line diff
--- a/js/core.js Fri Apr 29 15:36:29 2016 +0100 +++ b/js/core.js Fri Apr 29 15:48:11 2016 +0100 @@ -809,10 +809,9 @@ if (node.specification.mandatory == true) { alert("This radio is mandatory"); - } else { - node.response = -1; + return; } - return; + break; } if (inputs[i].checked == true) { node.response = node.specification.options[i];