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
+1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
File diff suppressed because one or more lines are too long
-2
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);