Ammends some fringe scenarios with state keys and states
[mkjsf-moved-to-github.git] / src / META-INF / resources / pz2utils / listeners.js
index 84cd19b..8c1f466 100644 (file)
@@ -50,7 +50,7 @@
              if (window.location.hash != stateKey.value) {\r
                //console.log("updating stateKey with new browser hash: " + window.location.hash);\r
                stateKey.value = window.location.hash;\r
-               if (! stateKey.value) window.location.hash = '#initial';\r
+               if (! stateKey.value) window.location.hash = '#1';\r
                stateKey.onchange();\r
              } else {\r
                //console.log("State hash already has the value of the new browser hash - not updating state hash");\r