clear add language boxes after submission
This commit is contained in:
parent
6bd532bf8c
commit
dfbfda7267
@ -597,6 +597,8 @@ document.querySelectorAll("#newLanguageSubmit p")[0].onclick = function() {
|
|||||||
submittable = true;
|
submittable = true;
|
||||||
p.innerText = "Submit!";
|
p.innerText = "Submit!";
|
||||||
p.style.backgroundColor = "#FEFEFE";
|
p.style.backgroundColor = "#FEFEFE";
|
||||||
|
document.querySelectorAll("#newLanguageName input")[0].value = "";
|
||||||
|
document.querySelectorAll("#newLanguagePhonemes textarea")[0].value = "";
|
||||||
}, 300);
|
}, 300);
|
||||||
getData();
|
getData();
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user