X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/4e1c1595fef6c3b682170a34533edaf88e268d1f..759e23384cc103d4d313d9a5486644d59142fe69:/src/wolnelektury/static/js/2022.js 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);