4,554
edits
No edit summary Tags: Manual revert Reverted  | 
				No edit summary Tag: Manual revert  | 
				||
| Line 766: | Line 766: | ||
     }).remove();  |      }).remove();  | ||
     var newFormHtml =   |     // Define the new form HTML as a string  | ||
     var newFormHtml = '<form action="/index.php" id="searchform">' +  | |||
        '<div id="simpleSearch" class="right-inner-addon">' +  | |||
        '<span>[ Search ]</span>' +  | |||
        '<input class="form-control" name="search" placeholder="" title="Search [alt-shift-f]" accesskey="f" id="searchInput" tabindex="1" autocomplete="off" type="search">' +  | |||
        '<span class="closing-bracket">]</span>' +  | |||
        '<input value="Special:Search" name="title" type="hidden">' +  | |||
        '</div>' +  | |||
         </form>  |          '</form>';  | ||
     // Replace the div with id="searchText" with the new form   |      // Replace the div with id="searchText" with the new form  | ||
     $('#searchText').replaceWith(newFormHtml);  |      $('#searchText').replaceWith(newFormHtml);  | ||
});  | });  | ||