migrated new panes to iitcm
This commit is contained in:
@ -563,7 +563,7 @@ window.chat.needMoreMessages = function() {
|
||||
|
||||
window.chat.chooseTab = function(tab) {
|
||||
if (tab != 'all' && tab != 'faction' && tab != 'alerts') {
|
||||
console.warn('chat tab "'+t+'" requested - but only "all", "faction" and "alerts" are valid - assuming "all" wanted');
|
||||
console.warn('chat tab "'+tab+'" requested - but only "all", "faction" and "alerts" are valid - assuming "all" wanted');
|
||||
tab = 'all';
|
||||
}
|
||||
|
||||
|
@ -6,18 +6,15 @@ 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');
|
||||
case 'all':
|
||||
window.chat.show('all');
|
||||
break;
|
||||
case 'faction':
|
||||
window.chat.show('faction');
|
||||
break;
|
||||
case 'alerts':
|
||||
window.chat.show('alerts');
|
||||
break;
|
||||
case 'debug':
|
||||
window.debug.console.show();
|
||||
break;
|
||||
|
Reference in New Issue
Block a user