From 8bf5aa4a9faffadbdfe05ebcb32eaf26fea3e88d Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 24 Aug 2018 14:22:40 +0200 Subject: Adding information to hidden player rows --- http/_res/ranking.css | 4 ++++ http/_res/ranking.js | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'http') 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 = $('').attr('colspan', columnCnt); - filterCategories.forEach(function(category) { - fillerRow.attr('data-' + category, row.category); - }); + var fillerRow = $('').attr('colspan', columnCnt).addClass('hidden-filler'); + fillerRow.append($('ukryte')); tableRow.append(fillerRow); tableRow.find('.rank').text(row['place']); } -- cgit v1.2.3