mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-20 06:23:44 +00:00
Remove unused reference to e
This commit is contained in:
parent
f465a962d4
commit
de484e1a08
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ define [
|
|||
element.on "submit", (e) ->
|
||||
e.preventDefault()
|
||||
validateCaptchaIfEnabled (response) ->
|
||||
submitRequest e, response
|
||||
submitRequest response
|
||||
|
||||
validateCaptchaIfEnabled = (callback = (response) ->) ->
|
||||
if attrs.captcha?
|
||||
|
@ -26,7 +26,7 @@ define [
|
|||
else
|
||||
callback()
|
||||
|
||||
submitRequest = (e, grecaptchaResponse) ->
|
||||
submitRequest = (grecaptchaResponse) ->
|
||||
formData = {}
|
||||
for data in element.serializeArray()
|
||||
formData[data.name] = data.value
|
||||
|
|
Loading…
Add table
Reference in a new issue