Mercurial > hg > webaudioevaluationtool
changeset 2748:4b004eb32738
Minor fix for always randomised pools in reverse order
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Tue, 25 Apr 2017 09:52:05 +0100 |
parents | 81a0a0fbfc69 |
children | 3bf85a38976f 7d619727130c 74b0a1be28a7 |
files | js/core.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/js/core.js Mon Apr 24 16:43:02 2017 +0100 +++ b/js/core.js Tue Apr 25 09:52:05 2017 +0100 @@ -1224,7 +1224,7 @@ // Now get the order of pages var fixed = []; pagePool.forEach(function (page) { - if (page.position !== null) { + if (page.position !== undefined) { fixed.push(page); var i = pagePool.indexOf(page); pagePool.splice(i, 1);