Commit 0a8c65b9 authored by Tyler Hallada's avatar Tyler Hallada
Browse files

Show footer after generating grid

parent 589be8bc
......@@ -30,6 +30,8 @@ function construct_grid(restaurants) {
$.ajax({
url: '/ajax/schedule/',
}).done(function (data) {
// Hide footer while generating grid to prevent it flying across the screen
$('#footer').hide();
$('#grid').empty();
$('#grid').html('<div class="row"></div>');
var restaurants = data.data;
......@@ -99,4 +101,5 @@ $.ajax({
});
});
construct_grid(restaurants);
$('#footer').show();
});
......@@ -68,7 +68,7 @@
</div>
<div id="footer">
<div id="footer" style="display:none">
A project of <a href="http://srct.gmu.edu">GMU SRCT</a>. <a href="http://opensource.org/licenses/MIT/">Some rights reserved</a>. &nbsp; &nbsp; | &nbsp; &nbsp;
George Mason University <a href="http://dining.gmu.edu/">Dining Services</a>
......
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