aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/index.js')
-rw-r--r--web_src/js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index 0b5ac493ed..fc46a2e694 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -2421,7 +2421,7 @@ function u2fError(errorType) {
u2fErrors[errorType].removeClass('hide');
Object.keys(u2fErrors).forEach((type) => {
- if (type !== errorType) {
+ if (type !== `${errorType}`) {
u2fErrors[type].addClass('hide');
}
});