From 1aebbcc502b28193d3d23388ee012526f161890e Mon Sep 17 00:00:00 2001 From: Behind The Math Date: Sun, 22 Apr 2018 18:25:26 -0400 Subject: [PATCH] Revert removing the JSCS enable comment --- lib/proto/attach-form.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/proto/attach-form.js b/lib/proto/attach-form.js index 322ac6e..0dbab38 100644 --- a/lib/proto/attach-form.js +++ b/lib/proto/attach-form.js @@ -40,6 +40,7 @@ var formAction = function(el, event) { var tagName = element.tagName.toLowerCase() // jscs:disable disallowImplicitTypeConversion if (!!element.name && element.attributes !== undefined && tagName !== "button") { + // jscs:enable disallowImplicitTypeConversion var type = element.attributes.type if ((!type || type.value !== "checkbox" && type.value !== "radio") || element.checked) {