X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/cf76dbd53927cb38154845748fb3481cf013970f..ce097db0af8c96297501b569ec49477b76c1ceec:/src/wolnelektury/static/js/main.js?ds=sidebyside diff --git a/src/wolnelektury/static/js/main.js b/src/wolnelektury/static/js/main.js index acc38a933..efa442e12 100644 --- a/src/wolnelektury/static/js/main.js +++ b/src/wolnelektury/static/js/main.js @@ -543,4 +543,10 @@ $(".c-media__settings").toggleClass('active'); }); + const crisis = document.querySelector(".annoy-banner_crisis-container"); + const crisisLink = document.querySelector('.annoy-banner_crisis-container a.action'); + crisis.addEventListener("click", function() { + crisisLink.click(); + }); + })();