X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e2a460b0a960df9482701ab10ec135a5cc3c69ac..5abc88f0d2ad3036dd526fbff5f0241f1d6480e1:/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);