More cleanup

This commit is contained in:
fkloft 2015-01-24 12:19:31 +01:00
parent b67f8b9a7f
commit 5c18e0fe6b
2 changed files with 3 additions and 11 deletions

View File

@ -530,7 +530,6 @@ window.chat.request = function() {
chat.requestFaction(false);
}
if (channel == 'all' || (window.chat.backgroundChannels && window.chat.backgroundChannels['all'])) {
// the 'public', 'full' and 'compact' tabs are all based off the 'public' COMM data
chat.requestPublic(false);
}
if (channel == 'alerts' || (window.chat.backgroundChannels && window.chat.backgroundChannels['alerts'])) {

View File

@ -6,17 +6,10 @@ window.show = function(id) {
runHooks("paneChanged", id);
switch(id) {
case 'full':
window.chat.show('full');
break;
case 'compact':
window.chat.show('compact');
break;
case 'public':
window.chat.show('public');
break;
case 'all':
case 'faction':
window.chat.show('faction');
case 'alerts':
window.chat.show(id);
break;
case 'debug':
window.debug.console.show();