setupOldButton() polled the DOM every 4s forever after the menu editor first opened, with no way to ever stop - the interval id was not even kept in a variable. It now returns whether the button was found, the interval only starts when the first attempt fails, and clears itself on the first successful attempt (also wired into the existing disconnect() cleanup alongside the other timers). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| catalog | ||
| core | ||
| legacy | ||
| offer-gallery | ||
| offer-templates | ||
| app-runtime.js | ||
| caterium-login-logo.png | ||
| index.html | ||
| manifest.webmanifest | ||
| pwa-icon-192.png | ||
| pwa-icon-512.png | ||
| service-worker.js | ||
| sun-logo.png | ||