Remove stuff related to index.html
authorDennis Schafroth <dennis@indexdata.com>
Wed, 2 Jun 2010 12:52:52 +0000 (14:52 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Wed, 2 Jun 2010 12:52:52 +0000 (14:52 +0200)
www/iphone/iphone.js

index 8a71600..65c7d1e 100644 (file)
@@ -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) {