From 7fe470d22fc97491e9c1d8e9e4074e3c93b21be8 Mon Sep 17 00:00:00 2001 From: Daniel Buckmaster Date: Sat, 17 May 2014 20:01:52 +1000 Subject: [PATCH] Fixed miscellaneous bugs. --- index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index aecb9212e..aca087bf6 100644 --- a/index.html +++ b/index.html @@ -70,7 +70,7 @@ root: . Release - + @@ -160,6 +160,8 @@ $(document).ready(function() { var ids = shuffle(Object.keys(images)); for(var i = 0; i < ids.length; i++) { $(this).append($('') + .attr('width', '760px') + .attr('height', '144px') .attr('src', '{{page.root}}/img/banner'+ids[i]+'.jpg') .attr('title', images[ids[i]])); } @@ -172,9 +174,11 @@ $(document).ready(function() { var numResults = 2; var feed = 'https://github.com/GarageGames/Torque3D/commits/development.atom'; + var now = new Date(); var googleAPI = document.location.protocol + '//ajax.googleapis.com/ajax/services/feed/load?' + 'v=1.0' + + '&dailycache=' + [now.getUTCDate(), now.getUTCMonth(), now.getUTCFullYear()].join('-') + '&num=' + numResults + '&callback=?&q='; var url = googleAPI + encodeURIComponent(feed);