Skip to content

Commit

Permalink
fixed error relating to refactoring of wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
tyscorp committed Apr 7, 2011
1 parent 7648572 commit aec5818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wrappers.js
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ $.extend($.wrappers.Contacts.prototype, {
return $(this.original.GetContact(str));
} else {
for (var i = 0; i < this.length; i++) {
if (this[i].Name === str) {
if (this[i].Name() === str) {
return this[i]; // Only returns the first match
}
}
Expand Down

0 comments on commit aec5818

Please sign in to comment.