From 6557b59b9f67aead70b0ef4d28e1da0c528c9df8 Mon Sep 17 00:00:00 2001 From: Biser Stoilov Date: Sun, 18 Feb 2018 15:18:59 +0200 Subject: [PATCH] Update attach-form.js --- lib/proto/attach-form.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"