forked from CGM_Public/pretix_original
[a11y] add missing labels on voucher-input and fix input.focus when revealing voucher-input via JS (#1998)
This commit is contained in:
committed by
GitHub
parent
09b2e69178
commit
1357b010de
@@ -75,7 +75,7 @@ $(function () {
|
||||
$(".apply-voucher-toggle").click(function (e) {
|
||||
$(".apply-voucher-toggle").hide();
|
||||
$(".apply-voucher").show();
|
||||
$(".apply-voucher input[ŧype=text]").first().focus();
|
||||
$(".apply-voucher input[type=text]").first().focus();
|
||||
e.preventDefault();
|
||||
return true;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user