Fixed typo
This commit is contained in:
parent
1b6c5e20c0
commit
bf9062bfc8
2 changed files with 13 additions and 13 deletions
|
@ -55,7 +55,7 @@ function lacechannel(c){
|
||||||
|
|
||||||
function createchannels(fincall){
|
function createchannels(fincall){
|
||||||
let name="";
|
let name="";
|
||||||
let catagory=2;
|
let category=2;
|
||||||
console.log(fincall)
|
console.log(fincall)
|
||||||
channelselect=new fullscreen(
|
channelselect=new fullscreen(
|
||||||
["vdiv",
|
["vdiv",
|
||||||
|
@ -63,7 +63,7 @@ function createchannels(fincall){
|
||||||
["voice","text","announcement"],
|
["voice","text","announcement"],
|
||||||
function(e){
|
function(e){
|
||||||
console.log(e)
|
console.log(e)
|
||||||
catagory={"text":0,"voice":2,"announcement":5,"catagory":4}[e]
|
category={"text":0,"voice":2,"announcement":5,"category":4}[e]
|
||||||
},
|
},
|
||||||
1
|
1
|
||||||
],
|
],
|
||||||
|
@ -72,26 +72,26 @@ function createchannels(fincall){
|
||||||
name=this.value
|
name=this.value
|
||||||
}],
|
}],
|
||||||
["button","","submit",function(){
|
["button","","submit",function(){
|
||||||
console.log(name,catagory)
|
console.log(name,category)
|
||||||
fincall(name,catagory);
|
fincall(name,category);
|
||||||
channelselect.hide();
|
channelselect.hide();
|
||||||
}]
|
}]
|
||||||
]);
|
]);
|
||||||
channelselect.show();
|
channelselect.show();
|
||||||
}
|
}
|
||||||
function createcatagory(fincall){
|
function createcategory(fincall){
|
||||||
let name="";
|
let name="";
|
||||||
let catagory=4;
|
let category=4;
|
||||||
console.log(fincall)
|
console.log(fincall)
|
||||||
channelselect=new fullscreen(
|
channelselect=new fullscreen(
|
||||||
["vdiv",
|
["vdiv",
|
||||||
["textbox","Name of catagory","",function(){
|
["textbox","Name of category","",function(){
|
||||||
console.log(this)
|
console.log(this)
|
||||||
name=this.value
|
name=this.value
|
||||||
}],
|
}],
|
||||||
["button","","submit",function(){
|
["button","","submit",function(){
|
||||||
console.log(name,catagory)
|
console.log(name,category)
|
||||||
fincall(name,catagory);
|
fincall(name,category);
|
||||||
channelselect.hide();
|
channelselect.hide();
|
||||||
}]
|
}]
|
||||||
]);
|
]);
|
||||||
|
@ -146,12 +146,12 @@ function makemenuc(divmessage,x,y){
|
||||||
createchannel.button.all=divmessage.all;
|
createchannel.button.all=divmessage.all;
|
||||||
build.appendChild(createchannel);
|
build.appendChild(createchannel);
|
||||||
|
|
||||||
const createcat=createbutton("create catagory",null,function(){
|
const createcat=createbutton("create category",null,function(){
|
||||||
createcatagory(thisuser.lookingguild.createChannel.bind(thisuser.lookingguild));
|
createcategory(thisuser.lookingguild.createChannel.bind(thisuser.lookingguild));
|
||||||
})
|
})
|
||||||
createcat.button.all=divmessage.all;
|
createcat.button.all=divmessage.all;
|
||||||
build.appendChild(createcat);
|
build.appendChild(createcat);
|
||||||
//createcatagory
|
//createcategory
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ class cmessage{
|
||||||
const username=document.createElement("span");
|
const username=document.createElement("span");
|
||||||
replyline.appendChild(username);
|
replyline.appendChild(username);
|
||||||
const reply=document.createElement("div");
|
const reply=document.createElement("div");
|
||||||
username.classList.add("replyusername")
|
username.classList.add("username")
|
||||||
reply.classList.add("replytext");
|
reply.classList.add("replytext");
|
||||||
replyline.appendChild(reply);
|
replyline.appendChild(reply);
|
||||||
const line2=document.createElement("hr");
|
const line2=document.createElement("hr");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue