changed default from last 8 hours toi last 48 hours of games

This commit is contained in:
Mark Vejvoda
2013-11-01 00:04:27 +00:00
parent ed4444a6da
commit 1fd4f6540a
5 changed files with 48 additions and 7 deletions

View File

@@ -31,7 +31,8 @@ function setupGameStatsLink(gameIndex) {
var link = document.getElementById('gameStats_' + gameIndex);
link.onclick = function() {
var row = document.getElementById('content_row_' + this.getAttribute('gameuuid'));
if(row && row.className == 'fullyhide') {
//if(row && row.className == 'fullyhide') {
if(row) {
row.className = 'fullyshow';
row.innerHTML = '<td width=\'100%\' colspan=\'100\'><a id=\'hide_stats_' + this.getAttribute('gameuuid') + '\' href=\'#\'>Hide Stats</a><div width=\'100%\' id=\'content_' + this.getAttribute('gameuuid') + '\'></div></td>';