Announcing an INNovation Fund-backed Project
';
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);
}
});
});
Today we're pleased to announce a new project that we're quite excited about.
We will be designing a new showcase for investigative journalism on the radio with Seattle NPR-affiliate KUOW. The project will kick off next month, with the first series expected later this year.
Seed money is being provided by an INNovation Fund grant. The INNovation Fund is a new initiative of the Investigative News Network and the Knight Foundation to support innovative projects in nonprofit news and public media. The first round of eight grants were announced this morning.
Thanks are also due to KUOW news director Cathy Duchamp and IW co-founder-turned-KUOW editor Carol Smith, both of whom have been brilliant and enthusiastic collaborators. We're thrilled at the opportunity to expand our partnership.
Investigative News Network: INNovation Fund Winners Announced