Add message to index.html for if JS is disabled

This commit is contained in:
2026-02-25 14:13:58 +00:00
parent 6ff9791b11
commit eab32c9b42
2 changed files with 4 additions and 1 deletions

1
emu.js
View File

@@ -267,5 +267,6 @@ class Emulator {
} }
window.addEventListener('DOMContentLoaded', () => { window.addEventListener('DOMContentLoaded', () => {
document.getElementById('output').innerText = '';
window.emu = new Emulator(); window.emu = new Emulator();
}); });

View File

@@ -6,6 +6,8 @@
</head> </head>
<body> <body>
<script type="text/javascript" src="emu.js"></script> <script type="text/javascript" src="emu.js"></script>
<div id="output"></div> <div id="output">I'm afraid you need javascript enabled for this to work :(
cringe, I know... but I promise there are no frameworks&#8482;</div>
</body> </body>
</html> </html>