Too much information? Here's how to separate truth from spin
';
document.querySelector('#copytext').value = textContent;
modal.showModal();
});
// Modal close functionality
const modal = document.querySelector('.republish-modal');
const closeBtn = document.querySelector('.republish-modal-close');
// Close button click
closeBtn.addEventListener('click', function() {
modal.close();
});
// Close on backdrop click
modal.addEventListener('click', function(e) {
if (e.target === modal) {
modal.close();
}
});
// Close on ESC key (this is usually built-in, but adding for safety)
modal.addEventListener('keydown', function(e) {
if (e.key === 'Escape') {
modal.close();
}
});
// Copy text button functionality
document.querySelector('.copy-text-button').addEventListener('click', async function() {
const textarea = document.querySelector('#copytext');
const text = textarea.value;
try {
// Try modern Clipboard API first
if (navigator.clipboard && window.isSecureContext) {
await navigator.clipboard.writeText(text);
this.textContent = 'Copied!';
} else {
// Fallback for older browsers
textarea.select();
document.execCommand('copy');
this.textContent = 'Copied!';
}
// Reset button text after 2 seconds
setTimeout(() => {
this.textContent = 'Copy text';
}, 2000);
} catch (err) {
console.error('Failed to copy text: ', err);
// Fallback to selection if copying fails
textarea.select();
this.textContent = 'Text selected';
setTimeout(() => {
this.textContent = 'Copy text';
}, 2000);
}
});
});
How To Find Truth Within the Information Overload
Put this one on your calendars: Thursday, Dec. 16, from 7:30 to 9 pm
Amid all the anxiety over the “death of newspapers” and the reliability of a crowdsourced encyclopedia and opinion-based “news,” seeking the truth remains the purpose of journalism—and the object for those who consume it. Veteran journalists Bill Kovach and Tom Rosenstiel, authors of Blur, offer a guide to navigating our modern media terrain, discerning what is reliable, and determining which facts (and whose opinions) to trust. Presented by The Town Hall Center for Civic Life and University Book Store in association with the Washington News Council and Journalism That Matters. The panel is moderated by former Seattle Times Executive Editor Mike Fancher. Series media sponsorship provided by PubliCola. Series supported by The Boeing Company Charitable Trust and the RealNetworks Foundation.
For more information, go to Town Hall, or buy tickets ($5) at brownpapertickets.com, or call 800/838-3006.
Learn more about Blur here.