1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-19 08:52:22 +01:00

Contacts: Remove unused method.

This commit is contained in:
Thomas Tanghus 2012-12-07 15:00:09 +01:00
parent 1706fe3412
commit 62ba937296

View File

@ -1172,16 +1172,6 @@ OC.Contacts = OC.Contacts || {};
this.contacts[parseInt(id)].close();
}
/**
* Jumps to an element in the contact list
* @param number the number of the item starting with 0
*/
ContactList.prototype.jumpToContact = function(id) {
var pos = this.contactPos(id);
console.log('scrollTop', pos);
this.$contactList.scrollTop(pos);
};
/**
* Returns a Contact object by searching for its id
* @param id the id of the node