This commit is contained in:
Ross
2021-12-12 12:13:19 +00:00
parent 8925268f98
commit 1bb04b9119
4 changed files with 20 additions and 6 deletions
@@ -12,6 +12,14 @@ Enter your CID and passcode in the below boxes.<br />
<script type="text/javascript">
$(document).ready(function () {
$("#cid-box, #passcode-box").keypress(function(e) {
// Enter pressed?
console.log(e)
if(e.which == 10 || e.which == 13) {
$("button").click();
}
});
$("button").click(() => {
let cid = $("#cid-box").val();
let passcode = $("#passcode-box").val();