mirror of
https://github.com/Doodle3D/doodle3d-connect.git
synced 2024-11-05 23:23:22 +01:00
Prevent going back to connecting page
This commit is contained in:
parent
3d6cd67616
commit
da1a1cae22
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user