Updated fullscreen and started work for themes
This commit is contained in:
parent
ca81f05665
commit
dc8ba099da
6 changed files with 224 additions and 6 deletions
|
@ -50,7 +50,7 @@ function lacechannel(c){
|
|||
|
||||
function createchannels(fincall){
|
||||
let name="";
|
||||
let catagory=1;
|
||||
let catagory=2;
|
||||
console.log(fincall)
|
||||
channelselect=new fullscreen(
|
||||
["vdiv",
|
||||
|
@ -59,7 +59,8 @@ function createchannels(fincall){
|
|||
function(e){
|
||||
console.log(e)
|
||||
catagory={"text":0,"voice":2,"announcement":5,"catagory":4}[e]
|
||||
}
|
||||
},
|
||||
1
|
||||
],
|
||||
["textbox","Name of channel","",function(){
|
||||
console.log(this)
|
||||
|
@ -630,7 +631,10 @@ function genusersettings(){
|
|||
if(newbio!==null){
|
||||
thisuser.updatebio(newbio);
|
||||
}
|
||||
}]
|
||||
}],
|
||||
["select","Theme:",["Dark","Light"],e=>{
|
||||
localStorage.setItem("theme",["Dark","Light"][e.target.selectedIndex]);
|
||||
},["Dark","Light"].indexOf(localStorage.getItem("theme"))]
|
||||
],
|
||||
["vdiv",
|
||||
["html",hypothetcialprofie]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue