From 935e9ab68831665713f25cba4fbac6dda399b750 Mon Sep 17 00:00:00 2001 From: Jon Benson Date: Tue, 7 May 2013 18:15:41 +1000 Subject: [PATCH] Fixed style overriding css to hide chat control tabs. --- code/chat.js | 2 -- mobile/smartphone.css | 2 +- mobile/src/com/cradle/iitc_mobile/IITC_Mobile.java | 3 +-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/code/chat.js b/code/chat.js index 3f0fd91b..5cd57996 100644 --- a/code/chat.js +++ b/code/chat.js @@ -518,8 +518,6 @@ window.chat.chooseAnchor = function(t) { elm.scrollTop(elm.data('needsScrollTop')); elm.data('needsScrollTop', null); } - - chat.needMoreMessages(); } window.chat.show = function(name) { diff --git a/mobile/smartphone.css b/mobile/smartphone.css index 97e70ee6..a196e850 100644 --- a/mobile/smartphone.css +++ b/mobile/smartphone.css @@ -30,7 +30,7 @@ body { #chatcontrols { height: 38px; width: 100%; - display: hidden; + display: none !important; } /* hide shrink button */ diff --git a/mobile/src/com/cradle/iitc_mobile/IITC_Mobile.java b/mobile/src/com/cradle/iitc_mobile/IITC_Mobile.java index 9aaabd2e..be3b54f7 100644 --- a/mobile/src/com/cradle/iitc_mobile/IITC_Mobile.java +++ b/mobile/src/com/cradle/iitc_mobile/IITC_Mobile.java @@ -32,7 +32,6 @@ public class IITC_Mobile extends Activity { private IITC_WebView iitc_view; private boolean back_button_pressed = false; - private boolean desktop = false; private OnSharedPreferenceChangeListener listener; private String intel_url = "https://www.ingress.com/intel"; private boolean user_loc = false; @@ -45,7 +44,7 @@ public class IITC_Mobile extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - + // TODO build an async task for url.openStream() in IITC_WebViewClient StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build(); StrictMode.setThreadPolicy(policy);