diff --git a/code/chat.js b/code/chat.js index 5cd57996..bfc53859 100644 --- a/code/chat.js +++ b/code/chat.js @@ -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'); diff --git a/code/debugging.js b/code/debugging.js index 7ddaa5de..e1d92d56 100644 --- a/code/debugging.js +++ b/code/debugging.js @@ -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(); diff --git a/code/window_management.js b/code/window_management.js index c210961b..8da89133 100644 --- a/code/window_management.js +++ b/code/window_management.js @@ -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; + } } diff --git a/mobile/res/values/strings.xml b/mobile/res/values/strings.xml index b8c76f70..beaddd48 100644 --- a/mobile/res/values/strings.xml +++ b/mobile/res/values/strings.xml @@ -45,7 +45,7 @@ If enabled, all IITC sources will be loaded from external storage of the Android device. Please copy all sources from $IITC_folder/build/mobile/ to /sdcard/IITC_Mobile/dev/. IITC source - + Chat Map Full diff --git a/mobile/res/xml/preferences.xml b/mobile/res/xml/preferences.xml index 3e1efe86..5cd6e03d 100644 --- a/mobile/res/xml/preferences.xml +++ b/mobile/res/xml/preferences.xml @@ -13,16 +13,16 @@ android:key="pref_about_cat" android:title="@string/pref_ui_cat"> - +