Revert removing the JSCS enable comment
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user