diff --git a/htdocs/core/js/lib_head.js.php b/htdocs/core/js/lib_head.js.php index 4424a65eb07..96ae839a9cd 100644 --- a/htdocs/core/js/lib_head.js.php +++ b/htdocs/core/js/lib_head.js.php @@ -1305,7 +1305,7 @@ $(document).on('select2:open', (e) => { const target = $(e.target); if (target && target.length) { const id = target[0].id || target[0].name; - document.querySelector(`input[aria-controls*='${id}']`).focus(); + document.querySelector('input[aria-controls*='+id+']').focus(); } });