1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

fixes a bug in IE11 that broke direct uploads

This commit is contained in:
kylekeesling 2018-04-06 09:31:34 -04:00
parent 0a353a9786
commit a7cdad8d26
No known key found for this signature in database
GPG key ID: 3D0687B4CB8EBDE5
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

@ -59,7 +59,7 @@ function submitForm(form) {
} else { } else {
button = document.createElement("input") button = document.createElement("input")
button.type = "submit" button.type = "submit"
button.style = "display:none" button.style.display = "none"
form.appendChild(button) form.appendChild(button)
button.click() button.click()
form.removeChild(button) form.removeChild(button)