feature/small-useability-improvements #20
@ -83,6 +83,14 @@
|
|||||||
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 ([) -->
|
||||||
|
<script type="text/javascript">
|
||||||
|
window.addEventListener("keydown", (event)=>{
|
||||||
|
if (event.key == '[') {
|
||||||
|
document.getElementById("qr_search_field").focus()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
</script>
|
||||||
mhu marked this conversation as resolved
|
|||||||
{% block custom_scripts %}
|
{% block custom_scripts %}
|
||||||
{% endblock custom_scripts %}
|
{% endblock custom_scripts %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user
This is nice!