diff options
Diffstat (limited to 'maps-extra.js')
| -rwxr-xr-x | maps-extra.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/maps-extra.js b/maps-extra.js index e6cc7e1..a2b1f2c 100755 --- a/maps-extra.js +++ b/maps-extra.js @@ -37,10 +37,10 @@ $(document).ready(function() { }); // Set the action when the search box form is submitted. if ($('#headerform')) { - $('#headerform').submit(function() { + $('#headerform').bind('submit', function() { var el = document.getElementById('query'); onsearch(el.value); - return submit_the_query_form; + return false; }); }; // Set the default height for the map. @@ -156,7 +156,7 @@ function resize_map_and_results() { $('#searchresults').css('height', diff + 2 + 'px'); // The 2 is a bit random but adjusts the bottom of the results to match the map. } - map.setCenter(STARTPOS, 17); + //map.setCenter(STARTPOS, 17); } function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); |
