From 5d06b0ead299590a3cd330180d61bc62d403f4e3 Mon Sep 17 00:00:00 2001 From: mbrambilla Date: Thu, 18 Jul 2024 08:57:17 -0400 Subject: [PATCH] Longer timeout? Strange, since this works on a real browser locally. --- test/js/unit/dropdown.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/js/unit/dropdown.js b/test/js/unit/dropdown.js index 0835801e9..088e1dda5 100644 --- a/test/js/unit/dropdown.js +++ b/test/js/unit/dropdown.js @@ -469,8 +469,7 @@ $(function() { $dropdown.on('afterShow.cfw.dropdown', function() { setTimeout(function() { $input[0].focus(); - $input.trigger('focus'); - }, 10); + }, 100); }); $dropdown.CFW_Dropdown();