function noChatMode(){
    if(!lobbyBypass){
        if(lobby.settings.roomSize > 1 && !lobby.settings.gameMode == "Ranked"){
            return;
        }
    } else {
        if(!quiz.gameMode == "Ranked"){
            return;
        }
    }
    $("#gcContent").css({"backgroundImage": "none", "opacity": 0});
    let killkeys = ['background-color', '-webkit-box-shadow', 'box-shadow'];
    NCM_restore = $("#gameChatContainer").css(killkeys);
    killkeys.forEach((key) => {
        let val;
        key == 'background-color' ? val = "rgba(0,0,0,0)" : val = "none";
        // just delete the properties altogether
        $("#gameChatContainer").css(key, val);
    });
    $("#lobbyCountContainer").css({'right': '-25vw'});
}
/*
 * Edgecase function, someone wants the chat block GONE
 */
Edgecase function, someone wants the chat block GONE
Edgecase function someone wants the chat block GONE
function noChatMode(){
    if(!lobbyBypass){
        if(lobby.settings.roomSize > 1 && !lobby.settings.gameMode == "Ranked"){
            return;
        }
    } else {
        if(!quiz.gameMode == "Ranked"){
            return;
        }
    }
    $("#gcContent").css({"backgroundImage": "none", "opacity": 0});
    let killkeys = ['background-color', '-webkit-box-shadow', 'box-shadow'];
    NCM_restore = $("#gameChatContainer").css(killkeys);
    killkeys.forEach((key) => {
        let val;
        key == 'background-color' ? val = "rgba(0,0,0,0)" : val = "none";
        $("#gameChatContainer").css(key, val);
    });
    $("#lobbyCountContainer").css({'right': '-25vw'});
}
function noChatMode ( ) { if ( ! lobbyBypass ) { if ( lobby . settings . roomSize > 1 && ! lobby . settings . gameMode == "Ranked" ) { return ; } } else { if ( ! quiz . gameMode == "Ranked" ) { return ; } } $ ( "#gcContent" ) . css ( { "backgroundImage" : "none" , "opacity" : 0 } ) ; let killkeys = [ 'background-color' , '-webkit-box-shadow' , 'box-shadow' ] ; NCM_restore = $ ( "#gameChatContainer" ) . css ( killkeys ) ; killkeys . forEach ( ( key ) => { let val ; key == 'background-color' ? val = "rgba(0,0,0,0)" : val = "none" ; $ ( "#gameChatContainer" ) . css ( key , val ) ; } ) ; $ ( "#lobbyCountContainer" ) . css ( { 'right' : '-25vw' } ) ; }
Edgecase function, someone wants the chat block GONE
Edgecase function someone wants the chat block GONE
// just delete the properties altogether