mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-01-09 19:15:34 +00:00
Fixed issue with trying to access private list
This commit is contained in:
@@ -339,6 +339,7 @@ io.on('connection', function(socket){
|
||||
|
||||
socket.on('list', function(list)
|
||||
{
|
||||
console.log(list);
|
||||
if(typeof(list) === 'string' && list !== undefined && list !== null && list !== "")
|
||||
{
|
||||
in_list = true;
|
||||
|
||||
8
server/views/assets/dist/main.min.js
vendored
8
server/views/assets/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -149,10 +149,7 @@ $().ready(function(){
|
||||
function init(){
|
||||
number_suggested = 0;
|
||||
var no_socket = true;
|
||||
var pathname = window.location.pathname.split("/");
|
||||
if(pathname.length == 3) {
|
||||
private_channel = true;
|
||||
}
|
||||
|
||||
chan = $("#chan").html();
|
||||
mobile_beginning = Helper.mobilecheck();
|
||||
var side = Helper.mobilecheck() ? "left" : "right";
|
||||
|
||||
Reference in New Issue
Block a user