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

Remove unecessecary last selector

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