Compare commits

...

3 Commits

Author SHA1 Message Date
Ladd
3db3840a02 Merge branch 'dev' 2026-01-05 02:02:37 -06:00
Ladd
76de89ce7e attempting to show favicon 2026-01-05 02:02:32 -06:00
Ladd
b92e89a7c4 Automatically append [Dev] to title on dev site 2026-01-05 01:51:57 -06:00
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,7 @@
<title>Gravity Simulator</title>
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" href="./style.css" />
<link rel="icon" href="./favicon.ico" />
<script type="module">
import { Sim } from './simulator.js';
// Wait for document load

View File

@ -48,6 +48,11 @@ export class Sim {
const div = document.getElementById(this.divId);
this.div = div;
const url = new URL(window.location.href);
if (url.host === 'gravity.dev.laddhoffman.com') {
document.title += ' [Dev]';
}
this.options = new Options(this, simOptions);
this.display = new Display(this);
this.system = new System(this);