]> _ Git - fluidbook-html5.git/commitdiff
wip #2278 @0:10
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 28 Sep 2018 14:58:11 +0000 (16:58 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 28 Sep 2018 14:58:11 +0000 (16:58 +0200)
js/libs/fluidbook/fluidbook.nav.js

index 69f9edadffa8f02230e5c5fb4ec1cedd182808b9..12081a4ebcc5f9e2c42a9578955f815f4aa20d0c 100644 (file)
@@ -347,7 +347,7 @@ FluidbookNav.prototype = {
                         $_GET['home'] = decodeURIComponent($_GET['home']);
                     }
                     homeURL = $_GET['home'];
-                } else if (this.fluidbook.landingpage.hasLandingPage) {
+                } else if (this.fluidbook.landingpage !== undefined && this.fluidbook.landingpage.hasLandingPage) {
                     homeURL = '#/landing';
                     homeRequireLoader = false;
                 }