Commit ef33fe4c authored by Renfred Harper's avatar Renfred Harper

Fix hidden grid with no results

parent 92dba921
......@@ -29,8 +29,8 @@ function construct_grid(filtered_restaurants) {
$('#grid').empty();
$('#grid').html('<div class="row"></div>');
if (filtered_restaurants.length == 0) {
$('#grid').append('<span class="col-md-2 offset5" id="no-results">No results found.</span>');
$('#footer').show();
$('#grid').append('<span class="col-md-8 offset2 grid-box" id="no-results">No results found.</span>');
$('#grid').show();
return;
}
sorted_restaurants = sort_restaurants(filtered_restaurants);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment