From c4d8e1a350cdfbfb3526d3cee287c999d6de7d13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Moreira?= Date: Mon, 22 Jan 2024 21:19:02 +0100 Subject: [PATCH] Wider scope for selector --- js/custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/custom.js b/js/custom.js index f74fe3e..9afc13b 100644 --- a/js/custom.js +++ b/js/custom.js @@ -58,7 +58,7 @@ // Auto select input search box $("#search-menu-dropdown", document).on("shown.bs.dropdown", () => { - $("#edit-keys-dropdown", $(this)) + $("#edit-keys-dropdown", document) .focus() .select(); });