trim white space

This commit is contained in:
Rob Loranger 2019-08-26 15:10:37 -07:00
parent 2deb6d0ee9
commit 0b95b16e3c
No known key found for this signature in database
GPG key ID: D6F1633A4F0903B8
2 changed files with 4 additions and 4 deletions

View file

@ -5,12 +5,12 @@ form.import-form {
&span.row {
justify-content: space-around;
}
input[type=file] {
width: 100%;
align-self: center;
}
input[type=submit] {
width: 100%;
margin-top: .5rem;

View file

@ -7,7 +7,7 @@ const fileInput = document.querySelector('input[type="file"]')
document.onreadystatechange = () => {
if ( document.readyState === "complete") {
selectElem.disabled = true;
selectElem.disabled = true;
submitElem.disabled = true;
zipInfo.hidden = true;
zipWarning.hidden = true;
@ -28,7 +28,7 @@ fileInput.onchange = function() {
zipWarning.hidden = true;
}
}
if ( this.files.length > 1 ) {
selectElem.disabled = false;
submitElem.disabled = false;