mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
improve loading of recent clients
This commit is contained in:
@ -14,11 +14,20 @@ function initLoader(location, loaderId, count = 10, start = count, additional =
|
||||
loaderOffset = start;
|
||||
additionalParams = additional;
|
||||
|
||||
setupMonitor();
|
||||
try {
|
||||
setupMonitor();
|
||||
}
|
||||
catch {
|
||||
// ignored (can happen when the action modal loader exists but no page level loader does)
|
||||
}
|
||||
|
||||
$('#loaderLoad').click(function () {
|
||||
loadMoreItems();
|
||||
});
|
||||
|
||||
$('.loader-load-more').click(function() {
|
||||
loadMoreItems();
|
||||
})
|
||||
}
|
||||
|
||||
function setupMonitor() {
|
||||
|
Reference in New Issue
Block a user