Backport #14417 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
parent
dd827d6f2f
commit
841efac895
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
||||||
<div class="hide" id="u2f-error-4">
|
<div class="hide" id="u2f-error-4">
|
||||||
{{.i18n.Tr "u2f_error_4"}}
|
{{.i18n.Tr "u2f_error_4"}}
|
||||||
</div>
|
</div>
|
||||||
<div class="hide u2f-error-5">
|
<div class="hide u2f_error_5">
|
||||||
{{.i18n.Tr "u2f_error_5"}}
|
{{.i18n.Tr "u2f_error_5"}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -2198,7 +2198,7 @@ function u2fError(errorType) {
|
||||||
2: $('#u2f-error-2'),
|
2: $('#u2f-error-2'),
|
||||||
3: $('#u2f-error-3'),
|
3: $('#u2f-error-3'),
|
||||||
4: $('#u2f-error-4'),
|
4: $('#u2f-error-4'),
|
||||||
5: $('.u2f-error-5')
|
5: $('.u2f_error_5')
|
||||||
};
|
};
|
||||||
u2fErrors[errorType].removeClass('hide');
|
u2fErrors[errorType].removeClass('hide');
|
||||||
|
|
||||||
|
|
Reference in a new issue