@itrocks/template
Advanced tools
Comparing version 0.0.20 to 0.0.21
@@ -620,3 +620,3 @@ "use strict"; | ||
const attributeValue = this.source.substring(position, this.index); | ||
if (inInput && (hasTypeSubmit === undefined)) { | ||
if (inInput && !hasTypeSubmit) { | ||
hasTypeSubmit = (attributeChar === 't') && (attributeValue[0] === 's') | ||
@@ -623,0 +623,0 @@ && (attributeName === 'type') && (attributeValue === 'submit'); |
@@ -615,3 +615,3 @@ import Str from '@itrocks/rename'; | ||
const attributeValue = this.source.substring(position, this.index); | ||
if (inInput && (hasTypeSubmit === undefined)) { | ||
if (inInput && !hasTypeSubmit) { | ||
hasTypeSubmit = (attributeChar === 't') && (attributeValue[0] === 's') | ||
@@ -618,0 +618,0 @@ && (attributeName === 'type') && (attributeValue === 'submit'); |
@@ -63,3 +63,3 @@ { | ||
"types": "./esm/template.d.ts", | ||
"version": "0.0.20" | ||
"version": "0.0.21" | ||
} |
105482