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

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