Trigger loading of more contacts a bit earlier.
This commit is contained in:
parent
5c0c9bbdc1
commit
616f2f336e
|
@ -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…
Reference in New Issue