diff options
| author | elioat <elioat@tilde.institute> | 2025-03-15 21:44:31 -0400 |
|---|---|---|
| committer | elioat <elioat@tilde.institute> | 2025-03-15 21:44:31 -0400 |
| commit | 777ea6a90d2484131c4ce31ffe49cb8cd1375740 (patch) | |
| tree | 6b9e0cdf2bf83061748e26e1fd4c07c85bcde76b /html/immoral | |
| parent | 08bc2eccd539f1bd30d9807e76de79fd30b389c0 (diff) | |
| download | tour-777ea6a90d2484131c4ce31ffe49cb8cd1375740.tar.gz | |
*
Diffstat (limited to 'html/immoral')
| -rw-r--r-- | html/immoral/app.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/immoral/app.js b/html/immoral/app.js index f90a6f3..1c3bb16 100644 --- a/html/immoral/app.js +++ b/html/immoral/app.js @@ -143,7 +143,7 @@ function getFontMimeType(url) { } /** - * Sets up event listeners and initializes the app. + * Event listeners and initialization. * * 1. User enters URL and clicks Analyze * 2. Fetch the HTML through a CORS proxy @@ -593,13 +593,13 @@ document.addEventListener('DOMContentLoaded', () => { const previewLabel = document.createElement('div'); previewLabel.style.fontWeight = 'bold'; previewLabel.style.marginBottom = '0.5rem'; - previewLabel.textContent = 'Preview:'; + previewLabel.textContent = 'Preview'; previewContainer.appendChild(previewLabel); const preview = document.createElement('div'); preview.style.marginBottom = '1rem'; preview.id = `preview-${fontData.filename}`; - preview.textContent = 'The quick brown fox jumps over the lazy dog 0123456789'; + preview.innerHTML = 'Society for me my misery<br>Since Gift of Thee --'; previewContainer.appendChild(preview); // Add CSS Rule section |