mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-02-13 21:09:35 +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)
|
socket.on('list', function(list)
|
||||||
{
|
{
|
||||||
|
console.log(list);
|
||||||
if(typeof(list) === 'string' && list !== undefined && list !== null && list !== "")
|
if(typeof(list) === 'string' && list !== undefined && list !== null && list !== "")
|
||||||
{
|
{
|
||||||
in_list = true;
|
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(){
|
function init(){
|
||||||
number_suggested = 0;
|
number_suggested = 0;
|
||||||
var no_socket = true;
|
var no_socket = true;
|
||||||
var pathname = window.location.pathname.split("/");
|
|
||||||
if(pathname.length == 3) {
|
|
||||||
private_channel = true;
|
|
||||||
}
|
|
||||||
chan = $("#chan").html();
|
chan = $("#chan").html();
|
||||||
mobile_beginning = Helper.mobilecheck();
|
mobile_beginning = Helper.mobilecheck();
|
||||||
var side = Helper.mobilecheck() ? "left" : "right";
|
var side = Helper.mobilecheck() ? "left" : "right";
|
||||||
|
|||||||
Reference in New Issue
Block a user