pahvalentines/assets/js
michael a175b1d884 fix: check submission status before showing success UI
- loadResults() now checks resultData.status before calling showSuccess()
- Only shows success UI when status is "success", shows failure UI for "fail"
- Added null check to renderLyrics() to prevent crash on null lyrics
- Added null check in showSuccess() before calling renderLyrics()

Fixes crash when navigating to result page while submission is still processing.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 09:42:29 -06:00
..
data.js minor changes 2026-02-05 10:25:34 +05:30
home.js feat: add human detection using NudeNet for pet photo validation 2026-02-04 08:57:23 -06:00
result.js fix: check submission status before showing success UI 2026-02-05 09:42:29 -06:00