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) { function onUsersLoaded(users) {
var html = templates.prepare(templates['admin/users'].blocks['users']).parse({ users: users }), var html = templates.prepare(templates['admin/users'].blocks['users']).parse({ users: users });
container = $('#users-container'); $('#users-container').append(html);
container.append(html);
} }
function loadMoreUsers() { function loadMoreUsers() {

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

Loading…
Cancel
Save