quick fix

This commit is contained in:
Guy Sandler committed 2026-05-25 18:33:10 -07:00
1 parent 61ef8e163c
commit be3bc0a428
5 files changed
+12 -3

No files matched your search

+2
View File
@@ -2120,6 +2120,8 @@ function populateAnnouncements() {
function createConfettiBurst(targetElement, opts = {}) {
try {
if (options.todo_confetti === false) return;
const count = opts.count || 48;
const colors = opts.colors || ['#ff4d4f', '#ffc107', '#28a745', '#17a2b8', '#6f42c1', '#ff6b6b', '#ff8a65', '#ffd54f'];
const rect = targetElement.getBoundingClientRect();