Skip to content

Commit f83dc42

Browse files
author
Kevin Morris
committed
ESHint: no-extra-parens
1 parent 0fdb3e6 commit f83dc42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jquery.form.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@
427427

428428
s = $.extend(true, {}, $.ajaxSettings, options);
429429
s.context = s.context || s;
430-
id = 'jqFormIO' + (new Date().getTime());
430+
id = 'jqFormIO' + new Date().getTime();
431431
var ownerDocument = form.ownerDocument;
432432
var $body = $form.closest('body');
433433

@@ -980,7 +980,7 @@
980980
/* jshint validthis:true */
981981
var target = e.target;
982982
var $el = $(target);
983-
if (!($el.is('[type=submit],[type=image]'))) {
983+
if (!$el.is('[type=submit],[type=image]')) {
984984
// is this a child element of the submit el? (ex: a span within a button)
985985
var t = $el.closest('[type=submit]');
986986
if (t.length === 0) {

0 commit comments

Comments
 (0)