Hide nav div as default. Show when not in app
authorDennis Schafroth <dennis@indexdata.com>
Thu, 10 Jun 2010 19:43:57 +0000 (21:43 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Thu, 10 Jun 2010 19:43:57 +0000 (21:43 +0200)
www/iphone/example_client.js

index 6eacd1b..6eebbf6 100644 (file)
@@ -364,6 +364,7 @@ function applicationMode(newmode)
                searchdiv.style.display = 'none';
        }
        else { 
+           document.getElementById("nav").style.display="";
                searchdiv.style.display = '';
                document.search.onsubmit = onFormSubmit;
        }