changeset 2804:74b0a1be28a7

Merge branch 'master' into vnext
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 25 Apr 2017 09:52:30 +0100
parents e9ac2a297ba3 (current diff) 4b004eb32738 (diff)
children 622671f2ac13 939d5fdfdc32
files js/core.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/js/core.js	Tue Apr 25 09:45:10 2017 +0100
+++ b/js/core.js	Tue Apr 25 09:52:30 2017 +0100
@@ -1232,7 +1232,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);