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); chat.requestFaction(false);
} }
if (channel == 'all' || (window.chat.backgroundChannels && window.chat.backgroundChannels['all'])) { 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); chat.requestPublic(false);
} }
if (channel == 'alerts' || (window.chat.backgroundChannels && window.chat.backgroundChannels['alerts'])) { if (channel == 'alerts' || (window.chat.backgroundChannels && window.chat.backgroundChannels['alerts'])) {

View File

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