floating and header margins
This commit is contained in:
commit
d60559309d
|
@ -14,9 +14,6 @@ $(function() {
|
|||
|
||||
|
||||
$('#searchForm').submit(function(e) {
|
||||
if ($('.mapListSection').css("opacity") == '0') {
|
||||
$('.mapListSection').animate({'opacity': '1'}, 500);
|
||||
}
|
||||
e.preventDefault();
|
||||
var bbox = map.getExtent().toBBOX();
|
||||
var search_term = $('#searchField').val();
|
||||
|
@ -31,7 +28,9 @@ $(function() {
|
|||
'threshold': 0.5,
|
||||
'count': 20
|
||||
}, function(features) {
|
||||
|
||||
if ($('.mapListSection').css("opacity") == '0') {
|
||||
$('.mapListSection').animate({'opacity': '1'}, 1000);
|
||||
}
|
||||
if (features.hasOwnProperty("error") && features.error != '') {
|
||||
alert(features.error);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user