From b92e89a7c4eee4a42f017c4db10eac5d2ee2f838 Mon Sep 17 00:00:00 2001 From: Ladd Date: Mon, 5 Jan 2026 01:51:57 -0600 Subject: [PATCH] Automatically append [Dev] to title on dev site --- simulator.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/simulator.js b/simulator.js index 7c54673..e85551e 100644 --- a/simulator.js +++ b/simulator.js @@ -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);