mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-19 09:06:14 +00:00
The previous commit gated the on-load discovery sweep to a cold start, but a second, redundant DOMContentLoaded handler still called triggerDiscovery() ungated on every admin load, so /admin kept kicking off a full sweep (and its reseed) even with devices already known. The second handler only duplicated fetchDevices + fetchSettings + the ungated trigger, all of which the first (gated) handler already does, so remove it outright. That also drops the duplicate per-device live /info refresh the second handler caused. Also drop two em dashes (a code comment and the landing meta description). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>