admin: fix empty tables (DT engine ordering) #12

Merged
neckfire merged 1 commits from preprod into main 2026-07-15 09:52:01 +00:00
Owner
No description provided.
neckfire added 1 commit 2026-07-15 09:51:58 +00:00
The DT table engine lived in the page footer, after the per-page
<script>DT.init(...)</script> in the body, so DT was undefined when init ran
(ReferenceError, nothing rendered). Move the engine into a DtScript const
injected right after <main>, before any body content, so it is always defined
first.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
neckfire added 1 commit 2026-07-15 09:52:00 +00:00
The DT table engine lived in the page footer, after the per-page
<script>DT.init(...)</script> in the body, so DT was undefined when init ran
(ReferenceError, nothing rendered). Move the engine into a DtScript const
injected right after <main>, before any body content, so it is always defined
first.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
neckfire merged commit a4c8cf5955 into main 2026-07-15 09:52:01 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neckfire/the-cycle#12