We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fdb3e6 commit f83dc42Copy full SHA for f83dc42
src/jquery.form.js
@@ -427,7 +427,7 @@
427
428
s = $.extend(true, {}, $.ajaxSettings, options);
429
s.context = s.context || s;
430
- id = 'jqFormIO' + (new Date().getTime());
+ id = 'jqFormIO' + new Date().getTime();
431
var ownerDocument = form.ownerDocument;
432
var $body = $form.closest('body');
433
@@ -980,7 +980,7 @@
980
/* jshint validthis:true */
981
var target = e.target;
982
var $el = $(target);
983
- if (!($el.is('[type=submit],[type=image]'))) {
+ if (!$el.is('[type=submit],[type=image]')) {
984
// is this a child element of the submit el? (ex: a span within a button)
985
var t = $el.closest('[type=submit]');
986
if (t.length === 0) {
0 commit comments