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 9afa7d709b - Show all commits

View File

@ -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
Review

This is nice!

This is nice!
{% block custom_scripts %} {% block custom_scripts %}
{% endblock custom_scripts %} {% endblock custom_scripts %}