no need to store container

v1.18.x
Baris Soner Usakli 12 years ago
parent 9fb63d45c1
commit 48bb1b06c2

@ -140,10 +140,8 @@
});
function onUsersLoaded(users) {
var html = templates.prepare(templates['admin/users'].blocks['users']).parse({ users: users }),
container = $('#users-container');
container.append(html);
var html = templates.prepare(templates['admin/users'].blocks['users']).parse({ users: users });
$('#users-container').append(html);
}
function loadMoreUsers() {

@ -76,10 +76,8 @@
});
function onUsersLoaded(users) {
var html = templates.prepare(templates['users'].blocks['users']).parse({ users: users }),
container = $('#users-container');
container.append(html);
var html = templates.prepare(templates['users'].blocks['users']).parse({ users: users });
$('#users-container').append(html);
}
function loadMoreUsers() {

Loading…
Cancel
Save