feature/small-useability-improvements #20

Merged
mhu merged 3 commits from feature/small-useability-improvements into develop 2024-11-19 20:32:59 +01:00
Showing only changes of commit d10c48f2b9 - Show all commits

View File

@ -83,10 +83,10 @@
const popoverTriggerList = document.querySelectorAll('[data-bs-toggle="popover"]') const popoverTriggerList = document.querySelectorAll('[data-bs-toggle="popover"]')
const popoverList = [...popoverTriggerList].map(popoverTriggerEl => new bootstrap.Popover(popoverTriggerEl)) const popoverList = [...popoverTriggerList].map(popoverTriggerEl => new bootstrap.Popover(popoverTriggerEl))
</script> </script>
<!-- Select search field on start of QR scan ([) --> <!-- Select search field on start of QR scan if no input is currently selevted([) -->
<script type="text/javascript"> <script type="text/javascript">
window.addEventListener("keydown", (event)=>{ window.addEventListener("keydown", (event)=>{
if (event.key == '[') { if (document.activeElement.nodeName != 'INPUT' && event.key == '[') {
document.getElementById("qr_search_field").focus() document.getElementById("qr_search_field").focus()
} }
}) })