From c7031b4933ad67202060e3d194df1433fd3a14e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 25 Dec 2018 23:24:44 -0500 Subject: [PATCH] Give search form focus when it's hovered over --- agaric/js/script.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/agaric/js/script.js b/agaric/js/script.js index d61e64e..91d0247 100644 --- a/agaric/js/script.js +++ b/agaric/js/script.js @@ -42,5 +42,10 @@ $(document).ready(function(){ } ] }); + + $('.navbar-search-swap').hover(function() { + $(this).find('input').focus(); + }); + }); })(jQuery);