diff --git a/lib/proto/attach-form.js b/lib/proto/attach-form.js index 68201d7..7741027 100644 --- a/lib/proto/attach-form.js +++ b/lib/proto/attach-form.js @@ -52,15 +52,15 @@ var formAction = function(el, event) { // jscs:enable disallowImplicitTypeConversion var elementType if (element.tagName.toLowerCase() === "input") { - if (element.type === "text") { - elementType = "input" - } if (element.type === "checkbox") { elementType = "checkbox" } if (element.type === "radio") { elementType = "radio" } + else { + elementType = "other" + } } if (element.tagName.toLowerCase() === "select") { elementType = "select"