Commit a5eedf3d authored by Renfred Harper's avatar Renfred Harper
Browse files

Make footer show when no search results are found

parent e0dfe47c
......@@ -15,6 +15,7 @@ function construct_grid(filtered_restaurants) {
$('#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>');
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