diff options
Diffstat (limited to 'http/_res')
-rw-r--r-- | http/_res/ranking.css | 4 | ||||
-rw-r--r-- | http/_res/ranking.js | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/http/_res/ranking.css b/http/_res/ranking.css index 2993dd7..336186e 100644 --- a/http/_res/ranking.css +++ b/http/_res/ranking.css @@ -40,6 +40,10 @@ .table > thead th { text-align: center } .table.history > tbody > tr { cursor: auto } +.table .hidden-filler { + text-align: center +} + .container { position: relative; } .static-menu { position: absolute; diff --git a/http/_res/ranking.js b/http/_res/ranking.js index 3115190..c85df2b 100644 --- a/http/_res/ranking.js +++ b/http/_res/ranking.js @@ -177,10 +177,8 @@ var ranking = { columnCnt++; } }); - var fillerRow = $('<td>').attr('colspan', columnCnt); - filterCategories.forEach(function(category) { - fillerRow.attr('data-' + category, row.category); - }); + var fillerRow = $('<td>').attr('colspan', columnCnt).addClass('hidden-filler'); + fillerRow.append($('<em>ukryte</em>')); tableRow.append(fillerRow); tableRow.find('.rank').text(row['place']); } |