User:Polygnotus/Scripts/Claude4.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 393:
document.getElementById('claude-proofread-btn').addEventListener('click', () => {
this.proofreadArticle();
});
document.getElementById('claude-clear-btn').addEventListener('click', () => {
this.clearResults();
});
}
Line 416 ⟶ 413:
localStorage.removeItem('claude_current_results');
this.updateOutput('');
document.getElementById('claude-clear-btn').style.display = 'none';
this.updateStatus('Results cleared. Ready to proofread.');
}
Line 433 ⟶ 429:
outputEl.textContent = content;
}
// Store results and show clear button
if (content) {
this.currentResults = content;
localStorage.setItem('claude_current_results', content);
document.getElementById('claude-clear-btn').style.display = 'inline-block';
}
}