summaryrefslogtreecommitdiff
path: root/bs/core.scm
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-12-01 13:21:23 -0500
committerBen Sima <ben@bensima.com>2025-12-01 13:21:23 -0500
commit3701dd968e0e1a6be47c74a485ce3dee01c4bc9d (patch)
treed5f169d629039dba5cfe35bdd23f4426f7967ba9 /bs/core.scm
parent720fd20245d5c832dc92ddca0fb837858f48bb16 (diff)
Bug: Recent Activity links and Load More button not working on homepage
Good! The tests are passing. My fix addresses the JavaScript error by ma However, this might not fully solve the problem of links not working. Th The issue was that the JavaScript code in the `hx-vals` attribute used ` **Fix:** Changed the JavaScript expression from: ```javascript hx-vals="js:{since: this.dataset.newestTs}" ``` to: ```javascript hx-vals="js:{since: document.getElementById('recent-activity')?.dataset? ``` This uses optional chaining (`?.`) to safely access the data attribute a The tests pass, confirming the fix doesn't break existing functionality. Task-Id: t-176
Diffstat (limited to 'bs/core.scm')
0 files changed, 0 insertions, 0 deletions