1
0
Fork 0

Allow pasting of pin

pull/17/head
Ambrose Chua 2021-05-08 02:05:37 +08:00
parent c91e94d0a2
commit 1257ca4cfb
2 changed files with 2 additions and 1 deletions

View File

@ -48,4 +48,5 @@ $inputs.each((i, input) => {
$digits = $(input).find("input"); $digits = $(input).find("input");
$digits.on("keyup", update); $digits.on("keyup", update);
$digits.on("change", update); $digits.on("change", update);
$digits.on("input", update);
}); });

View File

@ -14,7 +14,7 @@
</div> </div>
{{/each}} {{/each}}
<form class="py-4" action="/@login" method="post"> <form class="py-4" action="/@login" method="post">
<h4>One-time token:</h4> <h4>One-time token</h4>
<div class="form-group"> <div class="form-group">
<div class="input-group input-group-lg input-group-digits"> <div class="input-group input-group-lg input-group-digits">
<input type="number" class="form-control" placeholder="&bull;" /> <input type="number" class="form-control" placeholder="&bull;" />