* Reverting back to 1.6, see bug 1864
[lhc/web/wiklou.git] / skins / common / wikibits.js
index 95cbefb..6d2edc5 100644 (file)
@@ -21,7 +21,6 @@ function onloadhook () {
     unhidetzbutton();
     tabbedprefs();
     akeytt();
-    searchfocus();
 }
 if (window.addEventListener) window.addEventListener("load",onloadhook,false);
 else if (window.attachEvent) window.attachEvent("onload",onloadhook);
@@ -454,9 +453,3 @@ function addRightClickEditHandler( el ) {
                }
        }
 }
-
-function searchfocus() {
-       // @bug 1864, autofocus on the searchform for MonoBook
-       // The former search is <form name="searchform" and the latter is <input name="search"
-       document.searchform.search.focus();
-}