From 280fb8002349827f12b55c6a735317a58beee324 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Wed, 2 Jun 2010 14:52:52 +0200 Subject: [PATCH] Remove stuff related to index.html --- www/iphone/iphone.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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) { -- 1.7.10.4