Another upgrade.
[wolnelektury.git] / src / wolnelektury / static / js / 2022.js
index 1b111e6..cbf1430 100644 (file)
@@ -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);