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

Add restaurant div within grid div for containment

parent 86c52794
...@@ -25,7 +25,9 @@ function construct_grid(filtered_restaurants) { ...@@ -25,7 +25,9 @@ function construct_grid(filtered_restaurants) {
} }
// Append the data into the Bootstrap scaffolding // Append the data into the Bootstrap scaffolding
$('#grid .row').last().append( $('#grid .row').last().append(
'<div class="col-sm-4 col-md-3 ' + open_class + '" id="' + restaurant.id + '">' + restaurant.name + '</div>' '<div class="col-sm-4 col-md-3 grid-box id="' + restaurant.id + '">\
<div class="restaurant ' + open_class + '">' + restaurant.name + '</div>\
</div>'
); );
}); });
$('#footer').show(); $('#footer').show();
......
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