continue working on per servver topstats

This commit is contained in:
RaidMax
2019-02-26 21:25:27 -06:00
parent d318a57830
commit c21bf2ebf1
15 changed files with 96 additions and 55 deletions

View File

@ -64,10 +64,6 @@ if ($(loaderResponseId).length === 1) {
$window
.off('scroll', ScrollHandler)
.on('scroll', ScrollHandler);
/*$('#load_penalties_button').click(function () {
loadMorePenalties();
});*/
});
function ScrollHandler(e) {

View File

@ -72,6 +72,10 @@ $(document).ready(function () {
getStatsChart($(element).attr('id'), $(element).width(), $(element).height()).render();
});
});
$('.top-players-link').click(function (event) {
initLoader('/Stats/GetTopPlayersAsync?serverId=' + $(this).data('serverid'), $(this).attr('href'), 50);
});
});
$(document).on("loaderFinished", function (event, response) {