Nathaniel van Diepen 5 years ago
parent
commit
5d708d4456
1 changed files with 2 additions and 0 deletions
  1. 2 0
      site/js/index.js

+ 2 - 0
site/js/index.js

@@ -17,6 +17,7 @@ $(function(){
 		dialogs = $('#dialogs').children('div'),
 		memos,
 		news,
+		channels,
 		templates = [],
 		logout = function(){
 			$.removeCookie('user',{
@@ -592,6 +593,7 @@ $(function(){
 					div.find('.tree').treegrid({
 						initialState: 'collapsed'
 					});
+					channels = d.channels;
 					$('#channels').html(div.children());
 					$('body').resize();
 				},