mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Trigger loading of more contacts a bit earlier.
This commit is contained in:
parent
5c0c9bbdc1
commit
616f2f336e
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue