Refactor deprecated String.trim(str)

This commit is contained in:
Skylar Ittner 2017-12-16 12:22:11 -07:00
parent 6e5411ce01
commit 724b9b2c37

View File

@ -49,7 +49,7 @@ $("#addpersonbtn").click(function () {
});
function addPerson(p) {
p = String.trim(p);
p = p.trim();
if (p == "") {
return false;
}