Skip to content

Commit

Permalink
Inclusion of Etienne's comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
gtorodelvalle committed Jul 5, 2012
1 parent 4223357 commit b6abb95
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/dialer/js/recents.js
Expand Up @@ -38,8 +38,6 @@ var Recents = {
cleanup: function re_cleanup() {
if (this._recentsDB)
this._recentsDB.close();

/* this.stopUpdatingDates(); */
},

getDatabase: function re_getDatabase(callback) {
Expand Down Expand Up @@ -148,8 +146,9 @@ var Recents = {
},

updateContactDetails: function re_updateContactDetails() {
var commLogItemPhoneNumbersSelector = '.log-item .primary-info';
var commLogItemPhoneNumbers = document.querySelectorAll(
'.log-item .primary-info');
commLogItemPhoneNumbersSelector);
var length = commLogItemPhoneNumbers.length;
for (var i = 0; i < length; i++) {
Contacts.findByNumber(commLogItemPhoneNumbers[i].textContent.trim(),
Expand Down

0 comments on commit b6abb95

Please sign in to comment.