fix(dashboard): inject improvement modal via head config, not _footer.md
_footer.md is not a supported special file in Observable Framework 1.13.3 and was silently ignored. The preview server does serve src/*.js files at their root-relative path, so the correct approach is a <script type="module"> in the head config — runs once on page load, persists across SPA navigation. Removed _footer.md. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4d0941b524
commit
f3568cb111
2 changed files with 4 additions and 6 deletions
|
|
@ -1,6 +0,0 @@
|
|||
```js
|
||||
// Right-click improvement modal — initialised once, active on every page
|
||||
import {initImprovementModal} from "./components/improvement-modal.js";
|
||||
import {API} from "./components/config.js";
|
||||
initImprovementModal({apiBase: API, domain: "custodian"});
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue