fix jumping far past
This commit is contained in:
parent
9e56d00573
commit
f553e1418d
6 changed files with 108 additions and 151 deletions
|
@ -100,7 +100,6 @@ class Localuser{
|
|||
this.channelfocus=null;
|
||||
}
|
||||
unload():void{
|
||||
console.log("please say this ran");
|
||||
this.initialized=false;
|
||||
clearInterval(this.wsinterval);
|
||||
this.outoffocus();
|
||||
|
@ -111,7 +110,6 @@ class Localuser{
|
|||
async initwebsocket():Promise<void>{
|
||||
let returny=null
|
||||
const promise=new Promise((res)=>{returny=res});
|
||||
console.warn("info");
|
||||
this.ws = new WebSocket(this.serverurls.gateway.toString());
|
||||
this.ws.addEventListener('open', (event) => {
|
||||
console.log('WebSocket connected');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue