More cleanup
This commit is contained in:
parent
b67f8b9a7f
commit
5c18e0fe6b
@ -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'])) {
|
||||||
|
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user