Skip to content

Commit b2f8577

Browse files
anneFlycodingjoe
authored andcommitted
Fix wrong target for submit buttons in js s3file.js
1 parent 94ee141 commit b2f8577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

s3file/static/s3file/js/s3file.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
}
106106

107107
function clickSubmit (e) {
108-
var submitButton = e.target
108+
var submitButton = e.currentTarget
109109
var form = submitButton.closest('form')
110110
var submitInput = document.createElement('input')
111111
submitInput.type = 'hidden'

0 commit comments

Comments
 (0)