Skip to content

Commit

Permalink
Remove call to deprecated jQuery.trim()
Browse files Browse the repository at this point in the history
  • Loading branch information
RentecTravis committed Oct 28, 2024
1 parent e6ca6d3 commit 428e759
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/components/Examples/EmailContact.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function EmailContact() {
if (match) {
return {
email: match[2],
name: $.trim(match[1]),
name: match[1].trim(),
};
}
alert("Invalid email address.");
Expand Down Expand Up @@ -168,7 +168,7 @@ $("#select-to").selectize({
if (match) {
return {
email: match[2],
name: $.trim(match[1]),
name: match[1].trim(),
};
}
alert("Invalid email address.");
Expand Down

0 comments on commit 428e759

Please sign in to comment.