mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
remove autoloading of suggestion code and add it only on the search page
This commit is contained in:
@@ -151,6 +151,7 @@ foreach ($searchoptions as $key => $value) {
|
||||
<input type="submit" value=" Search " />
|
||||
</p>
|
||||
</form>
|
||||
<script type="text/javascript">loadSuggestCode();</script>
|
||||
<?php
|
||||
}
|
||||
site_footer(array("functionsjs"));
|
||||
|
||||
@@ -3,7 +3,6 @@ function runOnLoad()
|
||||
{
|
||||
searchHistory();
|
||||
resizeColumnsIE();
|
||||
loadSuggestCode();
|
||||
}
|
||||
|
||||
// Get a value of one cookie set by it's name
|
||||
|
||||
Reference in New Issue
Block a user