]> _ Git - fluidbook-html5.git/commitdiff
Fix #3072 @0.5
authorStephen Cameron <stephen@cubedesigners.com>
Mon, 23 Sep 2019 09:50:50 +0000 (11:50 +0200)
committerStephen Cameron <stephen@cubedesigners.com>
Mon, 23 Sep 2019 09:50:50 +0000 (11:50 +0200)
js/libs/fluidbook/fluidbook.nav.js

index 8775db05d918d4d2b9bdfe1a0d81d430c2279049..a030e54da79ab1f72341ba7712495b8f1968e08d 100644 (file)
@@ -353,7 +353,7 @@ FluidbookNav.prototype = {
                 if (this.fluidbook.datas.home === '%apphome%' || forceHome && DATAS.phonegap) {
                     homeURL = decodeURIComponent(window.localStorage.getItem('apphome'));
                 }
-                if ($_GET['home'] !== null) {
+                if ($_GET['home'] !== undefined) {
                     if ($_GET['home'].indexOf("%253A") <= 6) {
                         $_GET['home'] = decodeURIComponent(decodeURIComponent($_GET['home']));
                     }