Skip to content

Commit 93a49de

Browse files
authored
Merge pull request #469 from Cyril-Roques/master
Change the way of submited form is retreived
2 parents dd37ff8 + cce1853 commit 93a49de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ function captureSubmittingElement(e) {
940940
}
941941
target = t[0];
942942
}
943-
var form = this;
943+
var form = target.form;
944944
form.clk = target;
945945
if (target.type == 'image') {
946946
if (e.offsetX !== undefined) {

0 commit comments

Comments
 (0)