Skip to content

Commit 631cd2b

Browse files
authored
rename e to event to be complaint with the naming convention
1 parent b42fa88 commit 631cd2b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bootstrap_modal_forms/static/js/jquery.bootstrap.modal.forms.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ https://github.com/trco/django-bootstrap-modal-forms
2222
isFormValid(settings, submitForm);
2323
});
2424
// Support submition on form fields
25-
$(settings.modalForm).on("submit", function (e) {
26-
if (e.originalEvent !== undefined) {
27-
e.preventDefault();
25+
$(settings.modalForm).on("submit", function (event) {
26+
if (event.originalEvent !== undefined) {
27+
event.preventDefault();
2828
isFormValid(settings, submitForm);
2929
return false;
3030
}

0 commit comments

Comments
 (0)