mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +01:00
Trigger loading of more contacts a bit earlier.
This commit is contained in:
parent
7ee1d2004e
commit
d4b6d60754
@ -1565,7 +1565,7 @@ Contacts={
|
||||
if(book.contacts[c].id == undefined) { continue; }
|
||||
if(!$('#contacts li[data-id="'+book.contacts[c]['id']+'"]').length) {
|
||||
var contact = Contacts.UI.Card.createEntry(book.contacts[c]);
|
||||
if(c == self.batchnum-5) {
|
||||
if(c == self.batchnum-10) {
|
||||
contact.bind('inview', function(event, isInView, visiblePartX, visiblePartY) {
|
||||
$(this).unbind(event);
|
||||
var bookid = $(this).data('bookid');
|
||||
|
Loading…
x
Reference in New Issue
Block a user