clear add language boxes after submission

This commit is contained in:
Kenneth Jao 2018-04-15 19:07:38 -04:00
parent 6bd532bf8c
commit dfbfda7267

View File

@ -597,6 +597,8 @@ document.querySelectorAll("#newLanguageSubmit p")[0].onclick = function() {
submittable = true;
p.innerText = "Submit!";
p.style.backgroundColor = "#FEFEFE";
document.querySelectorAll("#newLanguageName input")[0].value = "";
document.querySelectorAll("#newLanguagePhonemes textarea")[0].value = "";
}, 300);
getData();
},