changeset 2805:622671f2ac13

Merge branch 'vnext' into Dev_main
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 25 Apr 2017 09:52:44 +0100
parents 586c5cac6e7f (current diff) 74b0a1be28a7 (diff)
children ee3059744a6e
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/js/core.js	Tue Apr 25 09:45:23 2017 +0100
+++ b/js/core.js	Tue Apr 25 09:52:44 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);