From ebf4d41ae7076f613116f4ab5c9d546f260e9b8e Mon Sep 17 00:00:00 2001 From: Kenneth Jao Date: Mon, 15 Aug 2016 13:59:45 -0400 Subject: [PATCH] Made createClass teacher optional --- hourglass/client/profile/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hourglass/client/profile/profile.js b/hourglass/client/profile/profile.js index a6a4a33..6d111b3 100644 --- a/hourglass/client/profile/profile.js +++ b/hourglass/client/profile/profile.js @@ -499,7 +499,7 @@ function getCreateFormData() { var stop; var form = document.getElementsByClassName("creInput"); for (var i = 0; i < form.length; i++) { - if(i === 1) continue; + if(i === 1 || i === 2) continue; if (form[i].value === "") { form[i].focus(); form[i].placeholder = "Missing field";