Fix upload validation

This commit is contained in:
sqozz 2018-04-01 21:29:42 +02:00
parent 599c54bf4e
commit d1818be844

View File

@ -120,7 +120,7 @@ function setButtonToFilename(event) {
function setError(element) { function setError(element) {
element.classList.add("has-error") element.classList.add("has-error")
element.remove("has-success") element.classList.remove("has-success")
} }
function setSuccess(element) { function setSuccess(element) {