Trigger loading of more contacts a bit earlier.

This commit is contained in:
Thomas Tanghus 2012-07-19 22:55:52 +02:00
parent 5c0c9bbdc1
commit 616f2f336e
1 changed files with 1 additions and 1 deletions

View File

@ -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');