X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/349f8b311ecdf30a181b94a8c7747867bacca356..f4e9d89859fd521ec9eeb1f94f9caa374ef86960:/src/wolnelektury/static/js/2022.js?ds=sidebyside

diff --git a/src/wolnelektury/static/js/2022.js b/src/wolnelektury/static/js/2022.js
index 1b111e6b5..cbf143057 100644
--- a/src/wolnelektury/static/js/2022.js
+++ b/src/wolnelektury/static/js/2022.js
@@ -2,6 +2,12 @@
     $(function() {
 
         $("#search").search();
+        $("#search").on('focus', function() {
+            $(".l-navigation__logo").addClass('search-active');
+        });
+        $("#search").on('blur', function() {
+            $(".l-navigation__logo").removeClass('search-active');
+        });
 
     });
 })(jQuery);