Spaces:
Running
Running
Update main.js
Browse files
main.js
CHANGED
|
@@ -7,6 +7,8 @@ import { refreshUI } from './ui.js';
|
|
| 7 |
function init() {
|
| 8 |
loadState();
|
| 9 |
refreshUI();
|
|
|
|
|
|
|
| 10 |
}
|
| 11 |
|
| 12 |
document.addEventListener('DOMContentLoaded', init);
|
|
|
|
| 7 |
function init() {
|
| 8 |
loadState();
|
| 9 |
refreshUI();
|
| 10 |
+
// Trigger fade-in animation for main content
|
| 11 |
+
document.querySelector('main').classList.remove('opacity-0');
|
| 12 |
}
|
| 13 |
|
| 14 |
document.addEventListener('DOMContentLoaded', init);
|