Mercurial > hg > webaudioevaluationtool
changeset 2735:9d31ddedae2b
Minor corrections to the processing of conditional elements.
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Fri, 21 Apr 2017 11:21:51 +0100 |
parents | f2bb15d5f5c9 |
children | 4af2d531be4e dff4b73459fc d952a6c3fc17 62ad83c6a403 |
files | js/core.js |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/js/core.js Wed Apr 19 10:58:33 2017 +0100 +++ b/js/core.js Fri Apr 21 11:21:51 2017 +0100 @@ -596,7 +596,7 @@ } else { jumpID = condition.jumpToOnFail; } - if (jumpID !== undefined) { + if (jumpID !== null) { jumpToId.call(this, jumpID); break; } @@ -828,7 +828,7 @@ } i++; } - processConditional.call(this, node, node.response); + processConditional.call(this, node, node.response.name); return true; }