Browse Source

FIX #24429

Laurent Destailleur 2 years ago
parent
commit
5f5799cc4e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/core/js/lib_head.js.php

+ 1 - 1
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();
 	}
 });