@github/auto-check-element
Advanced tools
Comparing version 5.1.2-0 to 5.1.2
@@ -248,5 +248,4 @@ function throttle(callback) { | ||
}); | ||
state.controller = null; | ||
if (response.status === 200) { | ||
if (response.ok) { | ||
processSuccess(response, input, autoCheckElement.required); | ||
@@ -257,2 +256,3 @@ } else { | ||
state.controller = null; | ||
input.dispatchEvent(new CustomEvent('auto-check-complete', { | ||
@@ -259,0 +259,0 @@ bubbles: true |
@@ -254,5 +254,4 @@ (function (global, factory) { | ||
}); | ||
state.controller = null; | ||
if (response.status === 200) { | ||
if (response.ok) { | ||
processSuccess(response, input, autoCheckElement.required); | ||
@@ -263,2 +262,3 @@ } else { | ||
state.controller = null; | ||
input.dispatchEvent(new CustomEvent('auto-check-complete', { | ||
@@ -265,0 +265,0 @@ bubbles: true |
{ | ||
"name": "@github/auto-check-element", | ||
"version": "5.1.2-0", | ||
"version": "5.1.2", | ||
"description": "An input element that validates its value with a server endpoint.", | ||
@@ -5,0 +5,0 @@ "repository": "github/auto-check-element", |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
23645