diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-07-19 22:55:52 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-07-20 00:18:23 +0200 |
commit | 616f2f336e1e03aaf22aeed7196182b1890669b5 (patch) | |
tree | 6185c057cac555aacb8ab8b512b5a8c8db00089d /apps/contacts/js | |
parent | 5c0c9bbdc176d093d98a5357172df5deb57e6fb9 (diff) | |
download | nextcloud-server-616f2f336e1e03aaf22aeed7196182b1890669b5.tar.gz nextcloud-server-616f2f336e1e03aaf22aeed7196182b1890669b5.zip |
Trigger loading of more contacts a bit earlier.
Diffstat (limited to 'apps/contacts/js')
-rw-r--r-- | apps/contacts/js/contacts.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js index 6186b5e17f9..5aead47888b 100644 --- a/apps/contacts/js/contacts.js +++ b/apps/contacts/js/contacts.js @@ -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'); |