/qr, /qrset & ctrl+1~9 hotkeys for QRs

This commit is contained in:
RossAscends
2023-08-03 14:44:23 +09:00
parent 68e5ae63d6
commit 5a67d72fea
2 changed files with 34 additions and 3 deletions

View File

@@ -1134,5 +1134,11 @@ $("document").ready(function () {
return
}
}
if (event.ctrlKey && /^[1-9]$/.test(event.key)) {
// Your code here
event.preventDefault();
console.log("Ctrl +" + event.key + " pressed!");
}
}
});