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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy