Revert removing the JSCS enable comment

This commit is contained in:
Behind The Math
2018-04-22 18:25:26 -04:00
parent 59bd0fb595
commit 1aebbcc502

View File

@@ -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) {