Commit b4be06c
Add
Add `data-loaded` DOM attribute to root div when data fetch completes,
and use `[data-loaded]` as the scrns selector. This makes `waitForSelector`
block until GeoJSON is loaded, fixing the og-ward screenshot where ward
geometry appeared unloaded with a fixed sleep timer.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>data-loaded attribute for scrns wait, fix og-ward screenshot1 parent 72edf5a commit b4be06c
4 files changed
Lines changed: 2 additions & 2 deletions
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
653 | | - | |
| 653 | + | |
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
| |||
0 commit comments