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:
parent
0a353a9786
commit
a7cdad8d26
2 changed files with 2 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
@ -59,7 +59,7 @@ function submitForm(form) {
|
|||
} else {
|
||||
button = document.createElement("input")
|
||||
button.type = "submit"
|
||||
button.style = "display:none"
|
||||
button.style.display = "none"
|
||||
form.appendChild(button)
|
||||
button.click()
|
||||
form.removeChild(button)
|
||||
|
|
Loading…
Reference in a new issue