0
0
mirror of https://github.com/Doodle3D/doodle3d-connect.git synced 2024-12-25 18:13:48 +01:00

Prevent going back to connecting page

This commit is contained in:
peteruithoven 2014-05-12 18:22:52 +02:00
parent 3d6cd67616
commit da1a1cae22

View File

@ -171,6 +171,8 @@
_connectedRedirectDelay = setTimeout(function () {
// redirect to it's box page
console.log(" redirect to box");
// replace this page with boxes page in history
window.history.replaceState(null, "", "#boxes");
var linkParams = {localip: boxData.localip,wifiboxid: boxData.wifiboxid};
var link = "#box";
link = d3d.util.replaceURLParameters(link,linkParams);