From 2270b5ff3c6f3a5518ed15d401bb3a9d0862ac1f Mon Sep 17 00:00:00 2001 From: abhiramtx <7253115-abhiramtx@users.noreply.replit.com> Date: Sat, 8 Nov 2025 23:44:23 +0000 Subject: [PATCH] Add stars to the contributors section on the homepage Update `initStars` function in `static/js/scripts.js` to select elements with both `.home-info` and `.contributors` classes for star initialization. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 5e584ab0-c340-4432-97ef-1972582b60e9 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 817b4353-4d19-4f84-8119-4020a486bb5d Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d0a1d46d-d203-4308-bc6a-312ac7c0243b/5e584ab0-c340-4432-97ef-1972582b60e9/SQCbuMB --- static/js/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/scripts.js b/static/js/scripts.js index 6b8595b..fb73898 100644 --- a/static/js/scripts.js +++ b/static/js/scripts.js @@ -378,7 +378,7 @@ function initScrollIndicator() { } function initStars() { - const sections = document.querySelectorAll('.home-info'); + const sections = document.querySelectorAll('.home-info, .contributors'); sections.forEach(section => { const starContainer = document.createElement('div');