Added service worker support, needs work
You must manually enable support, I'm not having it on untill it'll work without issues all of the time :P
This commit is contained in:
@@ -37,14 +37,12 @@ class cmessage{
|
||||
},null,_=>{return _.author.id==READY.d.user.id});
|
||||
}
|
||||
constructor(messagejson,owner){
|
||||
console.log(owner)
|
||||
this.owner=owner;
|
||||
this.headers=this.owner.headers;
|
||||
for(const thing of Object.keys(messagejson)){
|
||||
this[thing]=messagejson[thing];
|
||||
}
|
||||
this.author=new user(this.author);
|
||||
console.log(this.type)
|
||||
}
|
||||
messageevents(obj){
|
||||
cmessage.contextmenu.bind(obj,this)
|
||||
@@ -182,7 +180,6 @@ class cmessage{
|
||||
messagedwrap.append(time);
|
||||
|
||||
texttxt.appendChild(messagedwrap)
|
||||
console.log(div)
|
||||
}
|
||||
div.userid=this.author.id;
|
||||
div.all=this;
|
||||
|
Reference in New Issue
Block a user