continue working on per servver topstats
This commit is contained in:
@ -64,10 +64,6 @@ if ($(loaderResponseId).length === 1) {
|
||||
$window
|
||||
.off('scroll', ScrollHandler)
|
||||
.on('scroll', ScrollHandler);
|
||||
|
||||
/*$('#load_penalties_button').click(function () {
|
||||
loadMorePenalties();
|
||||
});*/
|
||||
});
|
||||
|
||||
function ScrollHandler(e) {
|
||||
|
@ -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) {
|
||||
|
Reference in New Issue
Block a user