]> _ Git - fluidbook-html5.git/commitdiff
wip #1698 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 26 Sep 2017 13:20:01 +0000 (15:20 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 26 Sep 2017 13:20:01 +0000 (15:20 +0200)
js/libs/fluidbook/fluidbook.nav.js

index 51d21aacfa857922c2509473625cd7b728603ff0..d2dbb13fb61a9583fc9998bd47caf87d2cc054ee 100644 (file)
@@ -102,8 +102,7 @@ FluidbookNav.prototype = {
                     homeURL = decodeURIComponent(window.localStorage.getItem('apphome'));
                 }
                 if ($_GET['home'] != null) {
-
-                    if ($_GET['home'].indexOf("%3A") < 5) {
+                    if ($_GET['home'].indexOf("%3A") <= 6) {
                         $_GET['home'] = decodeURIComponent($_GET['home']);
                     }
                     homeURL = $_GET['home'];