Commit c27fa576 authored by Internship UKSW 2019's avatar Internship UKSW 2019

Initial commit

parent b3b4ef33
...@@ -289,9 +289,8 @@ class FormCreate extends Component { ...@@ -289,9 +289,8 @@ class FormCreate extends Component {
} }
} }
for (let i = 0; i < (sbj.length - 1); i++) { for (let i = 0; i < (sbj.length - 1); i++) {
if (sbj[i] == " ") { if (sbj[i] != " ") {
sbj = sbj.slice(i, (sbj.length - i)); sbj = sbj.slice(i, (sbj.length - 1));
} else {
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment