Adds semi-broken account switcher
This commit is contained in:
parent
16694653b5
commit
03173a35e4
8 changed files with 130 additions and 45 deletions
|
@ -34,7 +34,6 @@ function setDefaults(){
|
|||
setDefaults();
|
||||
class specialuser{
|
||||
constructor(json){
|
||||
console.log(json)
|
||||
if(typeof json==="specialuser"){
|
||||
return json;
|
||||
}
|
||||
|
@ -52,6 +51,7 @@ class specialuser{
|
|||
}
|
||||
}
|
||||
set pfpsrc(e){
|
||||
console.log("this ran fr")
|
||||
this.json.pfpsrc=e;
|
||||
this.updateLocal();
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ class specialuser{
|
|||
set username(e){
|
||||
this.json.username=e;
|
||||
this.updateLocal();
|
||||
}
|
||||
}
|
||||
get username(){
|
||||
return this.json.username;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue