Tenth Circuit Grants Qualified Immunity to Police Who Knowingly Violated the First Amendment – Cato Institute

Posted: April 19, 2021 at 6:53 am

Tenth Circuit Grants Qualified Immunity to Police Who Knowingly Violated the First Amendment | Cato at Liberty Blog Skip to main content `; } const addClickListeners = (alertBoxWrapper) => { alertBoxWrapper.addEventListener('click', ({ target }) => { if (target.classList.contains('js-cato-live-alert-link')) { var ga = window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)}; var _hsq = window._hsq = window._hsq || []; ga( 'send', 'event', 'Live Alert Link', 'click', target.getAttribute('href') ); const { dataset: { researchAreas, } } = target; Object.values(JSON.parse(researchAreas)).forEach(({ title }) => { _hsq.push(["trackEvent", { id: `Live Alert Link - ${title}` }]); }); } }); }; const buildAlert = (events) => { const { pathname: currentPath } = new URL(window.location.href); if (currentPath === '/') { return; } const alertWrapper = document.querySelector('.js-live-alert-wrapper'); const alert = document.querySelector('.js-live-alert'); const eventsWrapper = alertWrapper.querySelector('.js-live-alert-inner'); let eventsCode = ''; events.forEach(({ title, link, research_areas: researchAreas }) => { if (link !== currentPath) { eventsCode += buildEventCode( title, link, JSON.stringify(researchAreas) ); } }); if (!eventsCode) { return; } eventsWrapper.innerHTML = eventsCode; alert.classList.add( `cato-live-alert--${events.length > 1 ? 'multiple' : 'single'}` ); addClickListeners(alertWrapper); alertWrapper.classList.remove('d-none'); }; getCatoStreamingEvents .then(( { events }) => { if (events === undefined) { window.liveAlertProcessed = true; window.dispatchEvent(new Event('liveAlertPlaced')); return; } buildAlert(Object.values(events).slice(0, 2)); window.liveAlertProcessed = true; window.dispatchEvent(new Event('liveAlertPlaced')); }) .catch((error) => { console.log(error); window.liveAlertProcessed = true; window.dispatchEvent(new Event('liveAlertPlaced')); }); })(getCatoStreamingEvents);

Read more:
Tenth Circuit Grants Qualified Immunity to Police Who Knowingly Violated the First Amendment - Cato Institute

Related Posts