From: Dennis Schafroth Date: Wed, 2 Jun 2010 12:52:52 +0000 (+0200) Subject: Remove stuff related to index.html X-Git-Tag: v1.4.2~7^2~33 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=280fb8002349827f12b55c6a735317a58beee324;p=pazpar2-moved-to-github.git Remove stuff related to index.html --- diff --git a/www/iphone/iphone.js b/www/iphone/iphone.js index 8a71600..65c7d1e 100644 --- a/www/iphone/iphone.js +++ b/www/iphone/iphone.js @@ -8,17 +8,9 @@ var callback = {}; callback.init = function() { if (!inApp) { callback.type = 'browser'; - document.getElementById("heading").style.display=""; - } else + } else { callback.type = 'iphone'; - - var searchdiv = document.getElementById("searchdiv"); - if (this.type != 'iphone') { - searchdiv.style.display = ''; - document.search.onsubmit = onFormSubmit; } - else - searchdiv.style.display = 'none'; }; String.prototype.replaceAll = function(stringToFind,stringToReplace) {