button.on('click', function() {
let dataLabel = $(this).attr('data-label');
let dataAction = $(this).attr('data-action');
- $(this).parent().find('.l-article__overlay').toggleClass('is-clicked');
+ $(this).parent().parent().find('.l-article__overlay').toggleClass('is-clicked');
if($(this).text() === dataLabel) {
$(this).text(dataAction);
} else {
$(".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();
+ });
+
})();