Hopefully fix whitespace issues.

This commit is contained in:
Jon Benson
2013-05-07 19:05:50 +10:00
parent 935e9ab688
commit 4906b57f15
7 changed files with 64 additions and 64 deletions

View File

@ -521,9 +521,9 @@ window.chat.chooseAnchor = function(t) {
}
window.chat.show = function(name) {
window.isSmartphone
? $('#updatestatus').hide()
: $('#updatestatus').show();
window.isSmartphone
? $('#updatestatus').hide()
: $('#updatestatus').show();
$('#chat, #chatinput').show();
$('#map').css('visibility', 'hidden');

View File

@ -53,7 +53,7 @@ window.debug.console.show = function() {
// not displaying the map causes bugs in Leaflet
$('#map').css('visibility', 'hidden');
$('#chat, #chatinput').show();
window.debug.console.create();
window.debug.console.create();
$('#chatinput mark').css('cssText', 'color: #bbb !important').text('debug:');
$('#chat > div').hide();
$('#debugconsole').show();

View File

@ -1,30 +1,30 @@
// created to start cleaning up "window" interaction
//
window.show = function(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 'faction':
window.chat.show('faction');
break;
case 'debug':
window.debug.console.show();
break;
case 'map':
window.smartphone.mapButton.click();
break;
case 'info':
window.smartphone.sideButton.click();
break;
default:
window.smartphone.mapButton.click();
break;
}
switch(id) {
case 'full':
window.chat.show('full');
break;
case 'compact':
window.chat.show('compact');
break;
case 'public':
window.chat.show('public');
break;
case 'faction':
window.chat.show('faction');
break;
case 'debug':
window.debug.console.show();
break;
case 'map':
window.smartphone.mapButton.click();
break;
case 'info':
window.smartphone.sideButton.click();
break;
default:
window.smartphone.mapButton.click();
break;
}
}