fix missing bracket

This commit is contained in:
Miguel Jacq 2019-02-13 13:53:03 +11:00
parent 6c36fcb953
commit 044c4d0e6e
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

@ -31,7 +31,7 @@ form.onsubmit = function(event) {
xhr.onload = function() {
if (xhr.status == 200) {
uploadButton.innerHTML = 'Send Files';
if (document.getElementByClassName('flashes') !=null)
if (document.getElementByClassName('flashes') !=null) {
var flashes = document.getElementByClassName('flashes')
}
}