removed global socket from nochan

This commit is contained in:
Kasper Rynning-Tønnesen
2016-02-01 21:35:29 +01:00
parent ce8a4f1344
commit 950b08db16
4 changed files with 4 additions and 5 deletions

View File

@@ -277,8 +277,6 @@ function initfp(){
Nochan.populate_channels(msg);
});
window.socket = socket;
if(!localStorage["ok_cookie"])
Materialize.toast("We're using cookies to enhance your experience! <a class='waves-effect waves-light btn light-green' href='#ok' id='cookieok' style='cursor:pointer;pointer-events:all;'> ok</a>", 10000);