Add login tab. Add javascript from mk2-ui-core
[pazpar2-moved-to-github.git] / 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) {