Fixed issue with trying to access private list

This commit is contained in:
Kasper Rynning-Tønnesen
2017-05-02 18:28:39 +02:00
parent 0a16370ba7
commit 380a6cd60e
3 changed files with 6 additions and 8 deletions

View File

@@ -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";