Improved debugging in JS for the entry point

This commit is contained in:
Steffen Schaefer committed 2015-07-02 07:00:46 +02:00
1 parent b4bf7d95fd
commit 4e6af8ce10
1 file changed
+2 -1
@@ -38,7 +38,8 @@ public class SwitchingEntryPoint implements EntryPoint {
if (hash != null && hash.startsWith("#")) {
hash = hash.substring(1);
}
Place place = placeUpdater.getRealPlace(hisMap.getPlace(hash));
Place rawPlace = hisMap.getPlace(hash);
Place place = placeUpdater.getRealPlace(rawPlace);
GWT.log("Hash: " + hash);
if (place != null && !(place instanceof HasMobileVersion)) {
startDesktop();